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

Method nullable

datafusion/physical-expr/src/expressions/column.rs:115–118  ·  view source on GitHub ↗

Decide whether this expression is nullable, given the schema of the input

(&self, input_schema: &Schema)

Source from the content-addressed store, hash-verified

113
114 /// Decide whether this expression is nullable, given the schema of the input
115 fn nullable(&self, input_schema: &Schema) -> Result<bool> {
116 self.bounds_check(input_schema)?;
117 Ok(input_schema.field(self.index).is_nullable())
118 }
119
120 /// Evaluate the expression
121 fn evaluate(&self, batch: &RecordBatch) -> Result<ColumnarValue> {

Callers 1

out_of_bounds_nullableFunction · 0.45

Calls 3

bounds_checkMethod · 0.80
is_nullableMethod · 0.45
fieldMethod · 0.45

Tested by 1

out_of_bounds_nullableFunction · 0.36