Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
datafusion::physical_optimizer - Rust
[go: Go Back, main page]

Expand description

This module contains a query optimizer that operates against a physical plan and applies rules to a physical plan, such as “Repartition”.

Re-exports

pub use optimizer::PhysicalOptimizerRule;

Modules

Utilizing exact statistics from sources to avoid scanning data
CoalesceBatches optimizer that groups batches together rows in bigger batches to avoid overhead with small batches
Enforcement optimizer rules are used to make sure the plan’s Distribution and Ordering requirements are met by inserting necessary [RepartitionExec] and [SortExec].
Select the proper PartitionMode and build side based on the avaliable statistics for hash join.
Physical optimizer traits
This module contains code to prune “containers” of row groups based on statistics prior to execution. This can lead to significant performance improvements by avoiding the need to evaluate a plan on entire containers (e.g. an entire file)
Repartition optimizer that introduces repartition nodes to increase the level of parallelism available