Enum datafusion::physical_plan::joins::PartitionMode
source · pub enum PartitionMode {
Partitioned,
CollectLeft,
Auto,
}
Expand description
Partitioning mode to use for hash join
Variants§
Partitioned
Left/right children are partitioned using the left and right keys
CollectLeft
Left side will collected into one partition
Auto
When set to Auto, DataFusion optimizer will decide which PartitionMode mode(Partitioned/CollectLeft) is optimal based on statistics. It will also consider swapping the left and right inputs for the Join
Trait Implementations§
source§impl Clone for PartitionMode
impl Clone for PartitionMode
source§fn clone(&self) -> PartitionMode
fn clone(&self) -> PartitionMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PartitionMode
impl Debug for PartitionMode
source§impl PartialEq<PartitionMode> for PartitionMode
impl PartialEq<PartitionMode> for PartitionMode
source§fn eq(&self, other: &PartitionMode) -> bool
fn eq(&self, other: &PartitionMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PartitionMode
impl Eq for PartitionMode
impl StructuralEq for PartitionMode
impl StructuralPartialEq for PartitionMode
Auto Trait Implementations§
impl RefUnwindSafe for PartitionMode
impl Send for PartitionMode
impl Sync for PartitionMode
impl Unpin for PartitionMode
impl UnwindSafe for PartitionMode
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.