Dandandan commented on code in PR #7169: URL: https://github.com/apache/arrow-datafusion/pull/7169#discussion_r1280919220
########## datafusion/core/src/physical_plan/memory.rs: ########## @@ -68,13 +68,23 @@ impl DisplayAs for MemoryExec { ) -> std::fmt::Result { match t { DisplayFormatType::Default | DisplayFormatType::Verbose => { - let partitions: Vec<_> = + let partition_sizes: Vec<_> = self.partitions.iter().map(|b| b.len()).collect(); + + let output_ordering = self + .sort_information + .as_ref() + .map(|output_ordering| { + let order_strings: Vec<_> = + output_ordering.iter().map(|e| e.to_string()).collect(); + format!(", output_ordering: {}", order_strings.join(",")) Review Comment: ```suggestion format!(", output_ordering={}", order_strings.join(",")) ``` -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org