Commit e3d4795
committed
[Bug](fold) skip INET6_ATON function in fold by BE (apache#53423)
### What problem does this PR solve?
Problem Summary:
Now the Java StringLiteral can't handle binary data from C++,
it's will cause the result incorrect.
before the ipv6_string_to_num_or_default and INET6_ATON could fold by
BE,
after this PR, this two function will not fold by be.1 parent daa97ed commit e3d4795
File tree
2 files changed
+15
-2
lines changed- fe/fe-core/src/main/java/org/apache/doris/nereids/rules/expression/rules
- regression-test/suites/nereids_p0/expression/fold_constant
2 files changed
+15
-2
lines changedfe/fe-core/src/main/java/org/apache/doris/nereids/rules/expression/rules/FoldConstantRuleOnBE.java
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
231 | 233 | | |
232 | 234 | | |
233 | 235 | | |
234 | | - | |
235 | | - | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
236 | 239 | | |
237 | 240 | | |
238 | 241 | | |
| |||
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
89 | 99 | | |
0 commit comments