github-actions[bot] commented on code in PR #62956:
URL: https://github.com/apache/doris/pull/62956#discussion_r3195057330


##########
be/src/exec/operator/nested_loop_join_probe_operator.h:
##########
@@ -232,7 +269,8 @@ class NestedLoopJoinProbeOperatorX final
     Status push(RuntimeState* state, Block* input_block, bool eos) const 
override;

Review Comment:
   This removes the old-FE fallback for nested-loop/cross join plans. When a 
new BE receives a plan from an old FE, `tnode.__isset.nested_loop_join_node` is 
false, so `JoinProbeOperatorX` leaves `_intermediate_row_desc` and 
`_output_row_desc` unset (see the legacy branch in `join_probe_operator.cpp`). 
Before this PR `_old_version_flag` made `intermediate_row_desc()` and 
`row_desc()` return `_row_descriptor`; now the same rolling-upgrade plan hits 
this `DORIS_CHECK` (or the `_output_row_desc` check below) and the query 
fails/crashes. Please preserve the legacy descriptor fallback or initialize 
these descriptors for the old-plan case before removing `_old_version_flag`.



-- 
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]

Reply via email to