zhuqi-lucas opened a new pull request, #21230: URL: https://github.com/apache/datafusion/pull/21230
## Which issue does this PR close? Closes #21229 ## Rationale for this change When `FilterExec` has a `fetch` value (from limit pushdown), `EXPLAIN FORMAT TREE` does not show it, while `EXPLAIN` (default/verbose) correctly shows `fetch=N`. This makes the tree format output incomplete and can be confusing when debugging query plans. ## What changes are included in this PR? - Add `fetch` display to `FilterExec::fmt_as` for `TreeRender` format - Add sqllogictest to verify `fetch` appears in tree format output ## How are these changes tested? - Existing `limit` sqllogictests pass - New sqllogictest added to verify `fetch` is shown in `EXPLAIN FORMAT TREE` ## Are these changes safe? Yes — display-only change, no execution logic affected. -- 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]
