pub struct LoadData {
pub local: bool,
pub inpath: String,
pub overwrite: bool,
pub table: Expression,
pub partition: Vec<(Identifier, Expression)>,
pub input_format: Option<String>,
pub serde: Option<String>,
}Expand description
LOAD DATA statement (Hive)
Fields§
§local: boolLOCAL keyword - load from local filesystem
inpath: StringThe path to load data from (INPATH value)
overwrite: boolWhether to overwrite existing data
table: ExpressionThe target table
partition: Vec<(Identifier, Expression)>Optional PARTITION clause with key-value pairs
input_format: Option<String>Optional INPUTFORMAT clause
serde: Option<String>Optional SERDE clause
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LoadData
impl<'de> Deserialize<'de> for LoadData
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 StructuralPartialEq for LoadData
Auto Trait Implementations§
impl Freeze for LoadData
impl RefUnwindSafe for LoadData
impl Send for LoadData
impl Sync for LoadData
impl Unpin for LoadData
impl UnwindSafe for LoadData
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