cambyzju opened a new issue, #36493: URL: https://github.com/apache/doris/issues/36493
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version 2.0 latest ### What's Wrong? set experimental_enable_nereids_planner=false; > select uniq_a.k1 from uniq_a left join uniq_b on uniq_a.k1 = uniq_b.k1 group by uniq_a.k1 having sum(uniq_b.v1) <> sum(uniq_a.v1); ERROR 1105 (HY000): errCode = 2, detailMessage = (127.0.0.1)[NOT_IMPLEMENTED_ERROR]Create Expr failed because [E3] Wrong precision 39, min: 1, max: 38 ### What You Expected? no error ### How to Reproduce? 1、create table uniq_a with `decimalv2` column (this is the old table come from v1.2): ``` admin set frontend config ("disable_decimalv2"="false"); admin set frontend config ("enable_decimal_conversion"="false"); create table uniq_a(k1 int, v1 decimal(15,4)) unique key(k1) DISTRIBUTED by hash(k1) buckets 1 properties("replication_num"="1"); ``` 2、create table uniq_a with `decimalv3` column: ``` admin set frontend config ("disable_decimalv2"="true"); admin set frontend config ("enable_decimal_conversion"="true"); create table uniq_a(k1 int, v1 decimal(15,4)) unique key(k1) DISTRIBUTED by hash(k1) buckets 1 properties("replication_num"="1"); ``` 3、add some data: ``` insert into uniq_a values(1, '1.2345'); insert into uniq_b values(1, '1.2345'); ``` 4、query using hiving + sum: ``` set experimental_enable_nereids_planner=false; select uniq_a.k1 from uniq_a left join uniq_b on uniq_a.k1 = uniq_b.k1 group by uniq_a.k1 having sum(uniq_b.v1) <> sum(uniq_a.v1); ``` then we got the error message: `ERROR 1105 (HY000): errCode = 2, detailMessage = (127.0.0.1)[NOT_IMPLEMENTED_ERROR]Create Expr failed because [E3] Wrong precision 39, min: 1, max: 38` ### Anything Else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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: commits-unsubscr...@doris.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org