lvenqiang opened a new issue, #32555:
URL: https://github.com/apache/doris/issues/32555

   ### 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
   
   doris-2.0.4-rc06
   the code in mast is the same.
   
   ### What's Wrong?
   
   
![image](https://github.com/apache/doris/assets/30619922/e98579ad-03c8-4cc1-b7a6-f47dd011c3e9)
   
   use null point, cause core dump.
   In file typeid_cast.h the function typeid_cast(From* from) return null point.
   
   - use null point, cause core dump.
   In file typeid_cast.h the function typeid_cast(From* from) return null point.
   
   - debug info:
   const std::type_info& r1 = typeid(*from);
   const std::type_info& r2 = typeid(std::remove_pointer_t<To>);
   r1 : <typeinfo name for 
doris::vectorized::ColumnDecimal<doris::vectorized::Decimal<long> >> 
"N5doris10vectorized13ColumnDecimalINS0_7DecimalIlEEEE"
   r2 : <typeinfo name for 
doris::vectorized::ColumnDecimal<doris::vectorized::Decimal<int> >> 
"N5doris10vectorized13ColumnDecimalINS0_7DecimalIiEEEE"
   
   
   
   ### What You Expected?
   
   report it, please fix it, be don't core dump any more.
   
   ### 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 (
   
   
   ### 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

Reply via email to