viirya commented on code in PR #9080:
URL: https://github.com/apache/arrow-datafusion/pull/9080#discussion_r1474736327
##########
datafusion/physical-plan/src/joins/sort_merge_join.rs:
##########
@@ -1067,18 +1096,40 @@ impl SMJStream {
.collect::<Result<Vec<_>, ArrowError>>()
.map_err(Into::<DataFusionError>::into)?;
+ // Create null streamed (left) columns
let mut streamed_columns = self
.streamed_schema
.fields()
.iter()
.map(|f| new_null_array(f.data_type(), buffered_indices.len()))
.collect::<Vec<_>>();
+ let filter_columns =
Review Comment:
It is because `buffered_columns` is consumed by
`streamed_columns.extend(buffered_columns);`. So either I clone
`buffered_columns` before it, or put `get_filter_column ` before it like I
current do.
--
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]