comphead commented on code in PR #20420: URL: https://github.com/apache/datafusion/pull/20420#discussion_r2828827401
########## datafusion/sqllogictest/test_files/spark/array/shuffle.slt: ########## @@ -87,6 +87,26 @@ SELECT shuffle(column1, 1) FROM test_shuffle_fixed_size; [9, NULL, 8] NULL +query ? +SELECT shuffle(['2001-09-28T01:00:00'::timestamp, '2001-08-28T01:00:00'::timestamp, '2001-07-28T01:00:00'::timestamp, '2001-06-28T01:00:00'::timestamp, '2001-05-28T01:00:00'::timestamp], 1); Review Comment: not related to the PR, but how it comes `shuffle` which is non deterministic https://spark.apache.org/docs/latest/api/sql/#shuffle has stable output 🤔 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
