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 ๐
- dynamic_
filter - except ๐
- expand ๐
- file_
scan ๐ - filter ๐
- hop_
window ๐ - insert ๐
- intersect ๐
- join ๐
- limit ๐
- locality_
provider ๐ - 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 ๐
- vector_
index_ ๐lookup_ join
Macrosยง
Structsยง
- Agg
Agggroups input data by their group key and computes aggregation functions.- Aliased
Expr - Auxiliary struct for displaying
expr AS alias - Azblob
File Scan - CdcScan
CdcScanreads rows of a table from an external upstream database- Change
Log - CteRef
- Dedup
- Delete
- Except
Exceptreturns the rows of its first input except any matching rows from its other inputs.- Expand
Expandexpand one row multiple times according tocolumn_subsetsand also keep original columns of input. It can be used to implement distinct aggregation and group set.- File
Scan - Filter
- GcsFile
Scan - HopWindow
HopWindowimplements Hop Table Function.- Insert
- Intersect
Intersectreturns the intersect of the rows of its inputs. Ifallis false, it needs to eliminate duplicates.- Join
Joincombines two relations according to some condition.- Limit
- Locality
Provider LocalityProviderprovides locality for operators during backfilling. It buffers input data into a state table using locality columns as primary key prefix.- LogScan
- Materialized
Input State - MaxOne
Row - MySql
Query - Now
- Over
Window - Plan
AggCall - Rewritten version of
crate::expr::AggCallwhich usesInputRefinstead ofExprImpl. Refer tocrate::optimizer::plan_node::logical_agg::LogicalAggBuilder::try_rewrite_agg_callfor more details. - Plan
AggCall Display - Plan
Window Function - Rewritten version of
crate::expr::WindowFunctionwhich usesInputRefinstead ofExprImpl. - Postgres
Query - Project
Projectcomputes a set of expressions from its input relation.- Project
Builder - Construct a
Projectand dedup expressions. expressions - Project
Set ProjectSetprojects one row multiple times according toselect_list.- Recursive
Union RecursiveUnionreturns the union of the rows of its inputs. note: ifallis false, it needs to eliminate duplicates.- Share
- Source
Sourcereturns contents of a table or other equivalent object- SysScan
SysScanreturns contents of a table or other equivalent object- Table
Scan TableScanreturns contents of a RisingWave Table.- TopN
TopNsorts the input data and fetches up tolimitrows fromoffset- Union
Unionreturns the union of the rows of its inputs. Ifallis false, it needs to eliminate duplicates.- Update
- Vector
Index Lookup Join
Enumsยง
- AggCall
State - File
Format - File
Scan Backend - Mode
- Source
Node Kind - In which scnario the source node is created
- Storage
Type - TopN
Limit Limitis used to specify the number of records to return.
Constantsยง
Traitsยง
Functionsยง
- build_
cdc_ scan_ options_ with_ options - can_
push_ left_ from_ filter - can_
push_ left_ from_ on - can_
push_ on_ from_ filter - can_
push_ right_ from_ filter - can_
push_ right_ from_ on - ensure_
sorted_ required_ cols - Given the index of required cols, return a vec of permutation index, so that after we sort the
required_cols, and re-apply with a projection with the permutation index, we can restore the originalrequired_cols. - push_
down_ into_ join - Try to split and pushdown
predicateinto 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. - push_
down_ join_ condition - 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.