-- Test sort operator with codegen on and off. --CONFIG_DIM1 spark.sql.codegen.wholeStage=true --CONFIG_DIM1 spark.sql.codegen.wholeStage=false,spark.sql.codegen ...
Applying an OrderBy to a subquery in a SelectMany statement does not appear to work unless either a skip or take call is applied as well. You can see that there is no ORDER BY added to the generated ...