Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem or challenge?
It would be great to add an example under datafusion-examples to illustrate the following:
-
Default Planning and Optimization Strategy
- What is the default strategy for planning and optimizing queries with joins: How does the engine decide the physical join type (e.g., sort-merge join vs. hash join)?
- How is the join order determined?
Introducing the high-level internal optimization strategy can help users better understand and perform their own optimizations.
-
Example Queries and EXPLAIN Output
- Provide example queries and show how the default policies optimize them.
- Explain how to interpret the output of the
EXPLAINstatement.
-
Relevant Configuration Settings
Include explanation for the related configurations (note that some settings might not yet be supported in DF):- If multiple physical join types are applicable, how can a user disable or prefer a specific join type?
(e.g., for a simple inner join with equality conditions, how to force a Nested Loop Join in the execution plan) - How to override the join order?
(e.g., the optimizer choosest1,t3,t2but the user preferst1,t2,t3) - Any other relevant configuration options.
- If multiple physical join types are applicable, how can a user disable or prefer a specific join type?
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Activity