This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a change to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git
from b57b40568fb branch-3.1: [fix](compaction) Make creating tablet
idempotently to keep compaction Job idempotent #56061 (#56108)
add 050284e425e branch-3.1: [fix](nereids) fix simplify compare predicate
cause by loss precision or cast null #55884 (#56110)
No new revisions were added by this update.
Summary of changes:
.../rules/SimplifyComparisonPredicate.java | 73 +++++++++---
.../rules/SimplifyDecimalV3Comparison.java | 27 +++--
.../doris/nereids/trees/expressions/Cast.java | 12 +-
.../org/apache/doris/nereids/types/BigIntType.java | 6 +
.../apache/doris/nereids/types/IntegerType.java | 6 +
.../apache/doris/nereids/types/LargeIntType.java | 6 +
.../apache/doris/nereids/types/SmallIntType.java | 6 +
.../apache/doris/nereids/types/TinyIntType.java | 6 +
.../doris/nereids/types/coercion/IntegralType.java | 7 ++
.../rules/SimplifyComparisonPredicateTest.java | 121 ++++++++++++++------
.../rules/SimplifyDecimalV3ComparisonTest.java | 43 ++++---
...simplify_comparison_predicate_int_vs_double.out | Bin 0 -> 5017 bytes
...plify_comparison_predicate_int_vs_double.groovy | 127 +++++++++++++++++++++
13 files changed, 353 insertions(+), 87 deletions(-)
create mode 100644
regression-test/data/nereids_rules_p0/expression/test_simplify_comparison_predicate_int_vs_double.out
create mode 100644
regression-test/suites/nereids_rules_p0/expression/test_simplify_comparison_predicate_int_vs_double.groovy
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]