Sort and Filter gives different results run to run
Posted: Tue Nov 13, 2012 10:47 pm
I am performing a Sort and then Filter to remove duplicates.
However I have noticed that with every run the results change by 1 record.
The output from filter after the sort give 15 rows (where keychange=1) for run 1 and produces 2 records rejected i.e. (where keychange=0).
But for Run 2, 3 records are rejected (where keychange=0) and output from filter is 14 records (where keychange=1) .
Can you please help me understand why the result changes from run to run. Is there any particular partitioning or environment variable I should be using?
Thank you
However I have noticed that with every run the results change by 1 record.
The output from filter after the sort give 15 rows (where keychange=1) for run 1 and produces 2 records rejected i.e. (where keychange=0).
But for Run 2, 3 records are rejected (where keychange=0) and output from filter is 14 records (where keychange=1) .
Can you please help me understand why the result changes from run to run. Is there any particular partitioning or environment variable I should be using?
Thank you