MCPcopy Create free account
hub / github.com/apache/datafusion / from

Method from

datafusion/expr/src/expr.rs:83–88  ·  view source on GitHub ↗
(value: sqlparser::ast::NullTreatment)

Source from the content-addressed store, hash-verified

81#[cfg(feature = "sql")]
82impl From<sqlparser::ast::NullTreatment> for NullTreatment {
83 fn from(value: sqlparser::ast::NullTreatment) -> Self {
84 match value {
85 sqlparser::ast::NullTreatment::IgnoreNulls => Self::IgnoreNulls,
86 sqlparser::ast::NullTreatment::RespectNulls => Self::RespectNulls,
87 }
88 }
89}
90
91/// Represents logical expressions such as `A + 1`, or `CAST(c1 AS int)`.

Callers

nothing calls this directly

Calls 7

newFunction · 0.85
AggregateUDFClass · 0.85
WindowUDFClass · 0.85
WindowFunctionClass · 0.70
LiteralInterface · 0.70
ColumnClass · 0.50
into_innerMethod · 0.45

Tested by

no test coverage detected