You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because the original plan does not support columner, AQE is applying columnar transition rules when invoking postStageCreationRules(outputsColumnar = plan.supportsColumnar) and this causes CometColumnarToRow to get added, which then gets wrapped in WholeStageCodegenExec, at which point AQE fails because it was expecting an exchange.
Activity
andygrove commentedon May 15, 2025
@coderfender is planning on working on this one
coderfender commentedon May 15, 2025
Thank you @andygrove
andygrove commentedon May 19, 2025
Some notes from debugging this:
CometExecRuleperforms the following transformation:Because the original plan does not support columner, AQE is applying columnar transition rules when invoking
postStageCreationRules(outputsColumnar = plan.supportsColumnar)and this causesCometColumnarToRowto get added, which then gets wrapped inWholeStageCodegenExec, at which point AQE fails because it was expecting an exchange.