kumarUjjawal commented on code in PR #18800:
URL: https://github.com/apache/datafusion/pull/18800#discussion_r2542980284


##########
datafusion/physical-plan/src/joins/sort_merge_join/stream.rs:
##########
@@ -1566,6 +1566,7 @@ impl SortMergeJoinStream {
                         .columns()
                         .iter()
                         .skip(right_columns_length)
+                        .take(left_columns_length)

Review Comment:
   Right, should I Drop the `.take(left_columns_length)` and add a sanity check 
like `assert_eq_or_internal_err!(..., left_columns_length, "..."))` before 
extending right_columns.



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