AdamGS opened a new issue, #18008: URL: https://github.com/apache/datafusion/issues/18008
### Describe the bug When formatting a `SortPreservingMergeExec` node with a limit, there's no space or line break between the expression and the limit. For example: <img width="389" height="276" alt="Image" src="https://github.com/user-attachments/assets/8f0cee81-96f2-4a65-840e-febc58003dce" /> ### To Reproduce 1. Create table with `WITH ORDER` clause, backed by multiple files. 2. Run a query with both a limit and `ORDER BY` clause that matches the table's order, prefixed with `EXPLAIN FORMAT TREE`. ### Expected behavior Like other fields and nodes, have a separate line for the limit. ### Additional context _No response_ -- 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]
