1fanwang commented on code in PR #25961:
URL: https://github.com/apache/datafusion/pull/25961#discussion_r4168158755
##########
datafusion/optimizer/src/simplify_expressions/expr_simplifier.rs:
##########
@@ -828,6 +828,16 @@ impl<'a> Simplifier<'a> {
}
}
+fn modulo_one_is_zero_type(data_type: &DataType) -> bool {
+ match data_type {
+ DataType::Decimal32(_, scale)
Review Comment:
The branch is gone in
https://github.com/apache/datafusion/commit/79a19bf016dcaaed2aed2eb8305f088581d9f829,
since decimals no longer fold.
--
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]