Expand description
This module contains the generic plan nodes that are shared by all the plan nodes. They are meant to reuse the common fields between logical, batch and stream nodes.
Re-exportsยง
pub use dynamic_filter::*;
Modulesยง
- agg ๐
- cdc_
scan ๐ - changelog ๐
- cte_ref ๐
- dedup ๐
- delete ๐
- except ๐
- expand ๐
- file_
scan ๐ - filter ๐
- hop_
window ๐ - insert ๐
- intersect ๐
- join ๐
- limit ๐
- log_
scan ๐ - max_
one_ ๐row - mysql_
query ๐ - now ๐
- over_
window ๐ - postgres_
query ๐ - project ๐
- project_
set ๐ - recursive_
union ๐ - share ๐
- source ๐
- sys_
scan ๐ - table_
scan ๐ - top_n ๐
- union ๐
- update ๐
Macrosยง
Structsยง
Agg
groups input data by their group key and computes aggregation functions.- Auxiliary struct for displaying
expr AS alias
CdcScan
reads rows of a table from an external upstream databaseExcept
returns the rows of its first input except any matching rows from its other inputs.Expand
expand one row multiple times according tocolumn_subsets
and also keep original columns of input. It can be used to implement distinct aggregation and group set.HopWindow
implements Hop Table Function.Intersect
returns the intersect of the rows of its inputs. Ifall
is false, it needs to eliminate duplicates.Join
combines two relations according to some condition.- Rewritten version of
crate::expr::AggCall
which usesInputRef
instead ofExprImpl
. Refer tocrate::optimizer::plan_node::logical_agg::LogicalAggBuilder::try_rewrite_agg_call
for more details. Project
computes a set of expressions from its input relation.- Construct a
Project
and dedup expressions. expressions ProjectSet
projects one row multiple times according toselect_list
.RecursiveUnion
returns the union of the rows of its inputs. note: ifall
is false, it needs to eliminate duplicates.Source
returns contents of a table or other equivalent objectSysScan
returns contents of a table or other equivalent objectTableScan
returns contents of a RisingWave Table.TopN
sorts the input data and fetches up tolimit
rows fromoffset
Union
returns the union of the rows of its inputs. Ifall
is false, it needs to eliminate duplicates.
Enumsยง
- In which scnario the source node is created
Limit
is used to specify the number of records to return.
Constantsยง
Traitsยง
Functionsยง
- Try to split and pushdown
predicate
into a into a join condition and into the inputs of the join. Returns the pushed predicates. The pushed part will be removed from the original predicate. - Try to pushes parts of the join condition to its inputs. Returns the pushed predicates. The pushed part will be removed from the original join predicate.