Struct datafusion_expr::logical_plan::Unnest
source · pub struct Unnest {
pub input: Arc<LogicalPlan>,
pub exec_columns: Vec<Column>,
pub list_type_columns: Vec<usize>,
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>
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: DFSchemaRef
The output schema, containing the unnested field column.
options: UnnestOptions
Options
Trait Implementations§
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.