mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-17 08:34:19 +01:00
The Merge operator is a stateless operator that merges two deltas. There are two modes: Distinct, where we merge together values that are the same, and All, where we preserve all values. We use the rowid of the hashable row to guarantee that: In Distinct mode, the rowid is set to 0 in both sides. If they values are the same, they will hash to the same thing. For All, the rowids are different. The merge operator is used for the UNION statement, which is a cornerstone of Recursive CTEs.
14 lines
274 B
Rust
14 lines
274 B
Rust
pub mod aggregate_operator;
|
|
pub mod compiler;
|
|
pub mod cursor;
|
|
pub mod dbsp;
|
|
pub mod expr_compiler;
|
|
pub mod filter_operator;
|
|
pub mod input_operator;
|
|
pub mod join_operator;
|
|
pub mod merge_operator;
|
|
pub mod operator;
|
|
pub mod persistence;
|
|
pub mod project_operator;
|
|
pub mod view;
|