vranes commented on code in PR #60611:
URL: https://github.com/apache/spark/pull/60611#discussion_r4635631413
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/WholeStageCodegenExec.scala:
##########
@@ -1245,6 +1245,10 @@ case class CollapseCodegenStages(
// The children of SortMergeAsOfJoin should do codegen separately.
j.withNewChildren(j.children.map(
child => InputAdapter(insertWholeStageCodegen(child))))
+ case b: BinByExec =>
Review Comment:
Added a check to 'BIN BY codegen fuses wide output and bin filtering'. The
child of BIN BY must be an InputAdapter over its own WholeStageCodegenExec that
contains the RangeExec, and the BIN BY stage must not contain a RangeExec.
--
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]