-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Description
Search before asking
- I had searched in the issues and found no similar issues.
Version
branch-2.0 (doris-2.0.7-dc065ead16)
What's Wrong?
SELECT SQL with round funcrion leads to BE crash, because of NullPointerException.
It looks like in file typeid_cast.h the function " To typeid_cast(From* from) " return null point.
What You Expected?
be work normal not crash
How to Reproduce?
create table test(big_key bigint)
DISTRIBUTED BY HASH(big_key) BUCKETS 1 PROPERTIES ("replication_num" = "1");
select 1 from test e1
having truncate(100,2)<-2308.57
and cast(round(round(465.56,min(-5.987)),2) as DECIMAL) in (
select cast(truncate(round(8990.65-4556.2354,2.4652),2)as DECIMAL)
from test r2);
Anything Else?
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels
