pub enum Partitioning {
Auto,
Hive,
None,
}Expand description
How hive-style partition columns (key=value/ path segments) are handled
for an S3 parquet source. Local parquet always auto-detects; this option
brings S3 in line and lets you force or disable the behaviour.
Variants§
Auto
Detect key=value segments from the location glob or by listing the
prefix. No partition columns are added when none are found.
Hive
Force hive partitioning. Partition keys are taken from the location glob, or discovered by listing the prefix.
None
Treat the source as a flat set of parquet files — never add partition columns even if the path looks hive-partitioned.
Implementations§
Trait Implementations§
Source§impl Clone for Partitioning
impl Clone for Partitioning
Source§fn clone(&self) -> Partitioning
fn clone(&self) -> Partitioning
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Partitioning
Source§impl Debug for Partitioning
impl Debug for Partitioning
Source§impl Default for Partitioning
impl Default for Partitioning
Source§fn default() -> Partitioning
fn default() -> Partitioning
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Partitioning
impl<'de> Deserialize<'de> for Partitioning
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Partitioning
Source§impl PartialEq for Partitioning
impl PartialEq for Partitioning
Source§fn eq(&self, other: &Partitioning) -> bool
fn eq(&self, other: &Partitioning) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Partitioning
Auto Trait Implementations§
impl Freeze for Partitioning
impl RefUnwindSafe for Partitioning
impl Send for Partitioning
impl Sync for Partitioning
impl Unpin for Partitioning
impl UnsafeUnpin for Partitioning
impl UnwindSafe for Partitioning
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.