pub enum MergeMode {
Unordered,
Ordered,
Sorted,
}Expand description
How a merge combines its inputs.
Reference: https://ytsaurus.tech/docs/en/user-guide/data-processing/operations/merge
Variants§
Unordered
Rows in no particular order. The cluster’s own default, and the cheapest.
Ordered
Rows in the order of the input tables, each table’s order preserved.
Sorted
A sorted merge of sorted inputs, producing a sorted table.
The inputs must already be sorted. merge_by is optional — measured
against a cluster, a sorted merge without it takes the key from the
inputs’ own sort columns — and MergeSpec::with_merge_by is for
merging by fewer columns than that, or for saying so out loud.
Implementations§
Trait Implementations§
impl Copy for MergeMode
impl Eq for MergeMode
impl StructuralPartialEq for MergeMode
Auto Trait Implementations§
impl Freeze for MergeMode
impl RefUnwindSafe for MergeMode
impl Send for MergeMode
impl Sync for MergeMode
impl Unpin for MergeMode
impl UnsafeUnpin for MergeMode
impl UnwindSafe for MergeMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more