jayzhan211 commented on code in PR #9304:
URL: https://github.com/apache/arrow-datafusion/pull/9304#discussion_r1510117090
##########
datafusion/expr/src/simplify.rs:
##########
@@ -41,40 +41,12 @@ pub trait SimplifyInfo {
/// Returns data type of this expr needed for determining optimized int
type of a value
fn get_data_type(&self, expr: &Expr) -> Result<DataType>;
+
+ /// Return the schema for function simplifier
Review Comment:
Any reason why we should avoid return schema? Like `cast_to` is the function
that require schema, it's possible that there are other functions with similar
requirements.
--
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]