pub struct Unnest {
pub input: Arc<LogicalPlan>,
pub exec_columns: Vec<Column>,
pub list_type_columns: Vec<(usize, ColumnUnnestList)>,
pub struct_type_columns: Vec<usize>,
pub dependency_indices: Vec<usize>,
pub schema: DFSchemaRef,
pub options: UnnestOptions,
}Expand description
Unnest a column that contains a nested list type. See
UnnestOptions for more details.
Fields§
§input: Arc<LogicalPlan>The incoming logical plan
exec_columns: Vec<Column>Columns to run unnest on, can be a list of (List/Struct) columns
list_type_columns: Vec<(usize, ColumnUnnestList)>refer to the indices(in the input schema) of columns that have type list to run unnest on
struct_type_columns: Vec<usize>refer to the indices (in the input schema) of columns that have type struct to run unnest on
dependency_indices: Vec<usize>Having items aligned with the output columns representing which column in the input schema each output column depends on
schema: DFSchemaRefThe output schema, containing the unnested field column.
options: UnnestOptionsOptions
Implementations§
Trait Implementations§
Source§impl PartialOrd for Unnest
impl PartialOrd for Unnest
impl Eq for Unnest
impl StructuralPartialEq for Unnest
Auto Trait Implementations§
impl Freeze for Unnest
impl !RefUnwindSafe for Unnest
impl Send for Unnest
impl Sync for Unnest
impl Unpin for Unnest
impl !UnwindSafe for Unnest
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,
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more