raviston commented on PR #60325: URL: https://github.com/apache/spark/pull/60325#issuecomment-6957239536
Thank you, @sarutak. I opened #60626 for `branch-4.3` and #60627 for `branch-4.2`. For `branch-4.1` and `branch-4.0`, the backport needs one more fix. The fix itself applies cleanly and works, but the new test fails there in its ANSI-off `element_at` case, with `CompileException: Expression "project_isNull_4" is not an rvalue`: - The result on zero rows is now kept as `element_at(array(1, 2), 0)`. Its generated code fails to compile because of SPARK-60755 (#59963), which is in `branch-4.2` and later only. - With SPARK-60755 cherry-picked, the test passes on both branches. - Outside of tests, whole-stage codegen falls back to the interpreted path, so the query returns the correct rows (it failed with `INVALID_INDEX_OF_ZERO` before), but it logs the compilation error. @dongjoon-hyun, could SPARK-60755 also be backported to `branch-4.1` and `branch-4.0`? If not, I can leave this case out of the test in the 4.1 and 4.0 backports. -- 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]
