marvelefe opened a new pull request, #27470:
URL: https://github.com/apache/datafusion/pull/27470

   ## Which issue does this PR close?
   
   - Closes #27429.
   
   ## Rationale for this change
   
   `EXPLAIN` doesn't show what each physical plan node guarantees about its 
orderings, equal expressions, and constants, so it's hard to see why a sort was 
added or removed.
   
   ## What changes are included in this PR?
   
   - Add `datafusion.explain.show_equivalences` (default `false`) to show each 
node's facts in `EXPLAIN`, in both indent and tree formats.
   - Add `EquivalenceProperties::facts()` and use it for `Display`, with NULL 
placement always spelled out.
   - Regenerate `configs.md`.
   
   ## What is the testing strategy for this PR?
   
   - Unit test for `facts()` in `physical-expr`.
   - Display tests for indent and tree output in `physical-plan`.
   - EXPLAIN cases in `explain.slt` and `explain_tree.slt`.
   
   ## Are there any user-facing changes?
   
   - New option `datafusion.explain.show_equivalences` (default off, so 
existing output is unchanged).
   - `EquivalenceProperties` `Display` changes: `No properties` is now `none`, 
`eq:` is now `equal:`. It's only used in tests and debug messages.
   - New public items: `datafusion.explain.show_equivalences`, 
`EquivalenceProperties::facts()`, 
`DisplayableExecutionPlan::set_show_equivalences()`.
   


-- 
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]

Reply via email to