comphead commented on code in PR #11218:
URL: https://github.com/apache/datafusion/pull/11218#discussion_r1683608404
##########
datafusion/physical-plan/src/joins/sort_merge_join.rs:
##########
@@ -250,7 +250,12 @@ impl DisplayAs for SortMergeJoinExec {
write!(
f,
"SortMergeJoin: join_type={:?}, on=[{}]{}",
- self.join_type, on, display_filter
+ self.join_type,
+ on,
+ self.filter
+ .as_ref()
+ .map(|f| format!(", filter={}", f.expression()))
+ .unwrap_or("".to_string())
Review Comment:
inlined the display filter and changed `map_or_else` to map with default
--
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]