pub struct LateralView {
pub this: Expression,
pub table_alias: Option<Identifier>,
pub column_aliases: Vec<Identifier>,
pub outer: bool,
}Expand description
LATERAL VIEW clause (Hive/Spark) Used for unnesting arrays/maps with EXPLODE, POSEXPLODE, etc.
Fields§
§this: ExpressionThe table-generating function (EXPLODE, POSEXPLODE, etc.)
table_alias: Option<Identifier>Table alias for the generated table
column_aliases: Vec<Identifier>Column aliases for the generated columns
outer: boolOUTER keyword - preserve nulls when input is empty/null
Trait Implementations§
Source§impl Clone for LateralView
impl Clone for LateralView
Source§fn clone(&self) -> LateralView
fn clone(&self) -> LateralView
Returns a duplicate 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 LateralView
impl Debug for LateralView
Source§impl<'de> Deserialize<'de> for LateralView
impl<'de> Deserialize<'de> for LateralView
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
Source§impl PartialEq for LateralView
impl PartialEq for LateralView
Source§impl Serialize for LateralView
impl Serialize for LateralView
impl StructuralPartialEq for LateralView
Auto Trait Implementations§
impl Freeze for LateralView
impl RefUnwindSafe for LateralView
impl Send for LateralView
impl Sync for LateralView
impl Unpin for LateralView
impl UnwindSafe for LateralView
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