yjshen commented on code in PR #3238:
URL: https://github.com/apache/arrow-datafusion/pull/3238#discussion_r953404218
##########
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:
Can we move the bound check into the constructor?
--
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]