kosiew commented on code in PR #27413:
URL: https://github.com/apache/datafusion/pull/27413#discussion_r4784707860


##########
datafusion/optimizer/src/simplify_expressions/expr_simplifier.rs:
##########
@@ -4897,7 +4897,7 @@ mod tests {
         let original_result = evaluate(&original)?;
         let actual = evaluate(&simplified)?;
         assert_eq!(original_result.as_ref(), actual.as_ref());

Review Comment:
   Could we include the original expression and input schema in both 
assertions, and the simplified expression in the equivalence assertion? This 
would help identify failing cases and incorrect rewrites.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to