pub struct DateAddTzDatabricksTransformer;Expand description
Convert date_add_tz(part, n, ts, tz) -> to_utc_timestamp(from_utc_timestamp(ts, tz) + Interval ‘{n} {part}’, tz) or if tz = ‘UTC’ tz + Interval ‘{n} {part}’
Implementations§
source§impl DateAddTzDatabricksTransformer
impl DateAddTzDatabricksTransformer
pub fn new_dyn() -> Arc<dyn FunctionTransformer>
Trait Implementations§
source§impl Clone for DateAddTzDatabricksTransformer
impl Clone for DateAddTzDatabricksTransformer
source§fn clone(&self) -> DateAddTzDatabricksTransformer
fn clone(&self) -> DateAddTzDatabricksTransformer
Returns a copy 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 more