Sort stage with duplicate values in input
Posted: Fri Aug 04, 2006 3:31 am
I have a sequential file as Sort stage input containing data like :
empid
1
2
3
1
2
4
4
Now when I use the Sort stage on this input file with ascending empid (Allow Duplicate=True,all other options default), I get the following output
empid
3
1
1
2
2
4
4
which shows repeating values are sorted but non-repeating value('3') comes in wrong position.
Please explain this behaviour.
empid
1
2
3
1
2
4
4
Now when I use the Sort stage on this input file with ascending empid (Allow Duplicate=True,all other options default), I get the following output
empid
3
1
1
2
2
4
4
which shows repeating values are sorted but non-repeating value('3') comes in wrong position.
Please explain this behaviour.