Module polars_plan::logical_plan
source · Re-exports§
pub use crate::frame::AllowedOptimizations;
pub use crate::frame::OptState;
Modules§
- Defines different visitor patterns and for any tree.
Structs§
- FileCacher
ipc
orparquet
orcsv
orcse
orjson
Aggregate all the columns used in csv scans and make sure that all columns are scanned in one go. Due to self joins there can be multiple Scans of the same file in a LP. We already cache the scans in the PhysicalPlan, but we need to make sure that the first scan has all the columns needed. - FileFingerPrint
ipc
orparquet
orcsv
orcse
orjson
- The literal Null
- Optimizer that uses a stack and memory arenas in favor of recursion
Enums§
Constants§
Traits§
Functions§
- collect_fingerprints
ipc
orparquet
orcsv
orcse
orjson
- find_column_union_and_fingerprints
ipc
orparquet
orcsv
orcse
orjson
Find the union between the columns per unique IO operation. A unique IO operation is the file + the predicates pushed down to that file - Create a Literal Expression from
L
. A literal expression behaves like a column that contains a single distinct value. - converts a node from the AExpr arena to Expr
- converts a node from the ALogicalPlan arena to a LogicalPlan
- set_estimated_row_counts
streaming
- converts expression to AExpr and adds it to the arena, which uses an arena (Vec) for allocation
- converts LogicalPlan to ALogicalPlan it adds expressions & lps to the respective arenas as it traverses the plan finally it returns the top node of the logical plan