alamb commented on code in PR #5423:
URL: https://github.com/apache/arrow-datafusion/pull/5423#discussion_r1128528759
##########
datafusion/core/tests/simplification.rs:
##########
@@ -49,6 +49,13 @@ impl SimplifyInfo for MyInfo {
fn execution_props(&self) -> &ExecutionProps {
&self.execution_props
}
+
+ fn get_data_type(&self, expr: &Expr) -> Result<DataType> {
+ match expr.get_type(&self.schema) {
Review Comment:
I think this can be expressed slightly more concisely -- see
https://github.com/apache/arrow-datafusion/pull/5510
--
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]