Skip to content

Commit 69c398b

Browse files
committed
fix doc
1 parent 80adf8b commit 69c398b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

datafusion/sqllogictest/test_files/information_schema.slt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ datafusion.optimizer.enable_sort_pushdown true
305305
datafusion.optimizer.enable_topk_aggregation true
306306
datafusion.optimizer.enable_topk_dynamic_filter_pushdown true
307307
datafusion.optimizer.enable_topk_repartition true
308+
datafusion.optimizer.enable_unions_to_filter false
308309
datafusion.optimizer.enable_window_limits true
309310
datafusion.optimizer.expand_views_at_output false
310311
datafusion.optimizer.filter_null_join_keys false

docs/source/user-guide/configs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ The following configuration settings are available:
168168
| datafusion.optimizer.expand_views_at_output | false | When set to true, if the returned type is a view type then the output will be coerced to a non-view. Coerces `Utf8View` to `LargeUtf8`, and `BinaryView` to `LargeBinary`. |
169169
| datafusion.optimizer.enable_sort_pushdown | true | Enable sort pushdown optimization. When enabled, attempts to push sort requirements down to data sources that can natively handle them (e.g., by reversing file/row group read order). Returns **inexact ordering**: Sort operator is kept for correctness, but optimized input enables early termination for TopK queries (ORDER BY ... LIMIT N), providing significant speedup. Memory: No additional overhead (only changes read order). Future: Will add option to detect perfectly sorted data and eliminate Sort completely. Default: true |
170170
| datafusion.optimizer.enable_leaf_expression_pushdown | true | When set to true, the optimizer will extract leaf expressions (such as `get_field`) from filter/sort/join nodes into projections closer to the leaf table scans, and push those projections down towards the leaf nodes. |
171+
| datafusion.optimizer.enable_unions_to_filter | false | When set to true, the logical optimizer will rewrite `UNION DISTINCT` branches that read from the same source and differ only by filter predicates into a single branch with a combined filter. This optimization is conservative and only applies when the branches share the same source and compatible wrapper nodes such as identical projections or aliases. See `datafusion/sqllogictest/test_files/union.slt` for examples. |
171172
| datafusion.explain.logical_plan_only | false | When set to true, the explain statement will only print logical plans |
172173
| datafusion.explain.physical_plan_only | false | When set to true, the explain statement will only print physical plans |
173174
| datafusion.explain.show_statistics | false | When set to true, the explain statement will print operator statistics for physical plans |

0 commit comments

Comments
 (0)