andygrove commented on code in PR #3238:
URL: https://github.com/apache/arrow-datafusion/pull/3238#discussion_r953729764


##########
datafusion/physical-expr/src/expressions/column.rs:
##########
@@ -74,21 +74,84 @@ impl PhysicalExpr for Column {
 
     /// Get the data type of this expression, given the schema of the input
     fn data_type(&self, input_schema: &Schema) -> Result<DataType> {
+        self.bounds_check(input_schema)?;

Review Comment:
   No. We can only do the bounds check when the input schema is available, 
during evaluation.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to