Skip to content

Commit

Permalink
Ensure deterministic in rename.DuplicateProjectEval (#100473) (#100475)
Browse files Browse the repository at this point in the history
Without sort, the result can be out of order in the multi-node
environment
  • Loading branch information
dnhatn authored Oct 8, 2023
1 parent 5a9d649 commit 5c8f047
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ x:integer | y:integer | x2:integer | y2:integer
;

duplicateProjectEval
from employees | eval y = languages, x = languages | keep x, y | eval x2 = x + 1 | eval y2 = y + 2 | limit 3 | sort x;
from employees | sort emp_no | eval y = languages, x = languages | keep x, y | eval x2 = x + 1 | eval y2 = y + 2 | limit 3 | sort x;

x:integer | y:integer | x2:integer | y2:integer
2 | 2 | 3 | 4
Expand Down

0 comments on commit 5c8f047

Please sign in to comment.