alamb commented on code in PR #15066: URL: https://github.com/apache/datafusion/pull/15066#discussion_r1986065671
########## datafusion/physical-plan/src/sorts/partial_sort.rs: ########## @@ -226,10 +226,15 @@ impl DisplayAs for PartialSortExec { None => write!(f, "PartialSortExec: expr=[{}], common_prefix_length=[{common_prefix_length}]", self.expr), } } - DisplayFormatType::TreeRender => { - // TODO: collect info - write!(f, "") - } + DisplayFormatType::TreeRender => match self.fetch { + Some(fetch) => { + writeln!(f, "limit={fetch}")?; + writeln!(f, "sort keys=[{}]", self.expr) Review Comment: I recommend avoiding the `[` and `]` if possible -- 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...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org