Decide whether this expression is nullable, given the schema of the input
(&self, input_schema: &Schema)
| 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> { |