You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/07/12 07:48:52 UTC

[GitHub] [doris] BiteTheDDDDt opened a new issue, #10784: [Bug][Function] DCHECK fail on is_null_pred/is_not_null_pred

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

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   master
   
   ### What's Wrong?
   
   ```sql
   select is_not_null_pred(k1) from test;
   ```
   ```cpp
   F0712 15:36:00.005651 27686 function.h:302] Check failed: return_type->equals(*func_return_type) || (return_type->is_nullable() && func_return_type->is_nullable() && is_nothing(((DataTypeNullable*)func_return_type.get())->get_nested_type())) || (is_date_or_datetime( return_type->is_nullable() ? ((DataTypeNullable*)return_type.get())->get_nested_type() : return_type) && is_date_or_datetime(get_return_type(arguments)->is_nullable() ? ((DataTypeNullable*)get_return_type(arguments).get()) ->get_nested_type() : get_return_type(arguments))) || (is_date_v2(return_type->is_nullable() ? ((DataTypeNullable*)return_type.get())->get_nested_type() : return_type) && is_date_v2(get_return_type(arguments)->is_nullable() ? ((DataTypeNullable*)get_return_type(arguments).get()) ->get_nested_type() : get_return_type(arguments)))  with Nullable(UInt8) and UInt8
   
   ```
   
   ### What You Expected?
   
   fix it 
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] 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-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] yiguolei closed issue #10784: [Bug][Function] DCHECK fail on is_null_pred/is_not_null_pred

Posted by GitBox <gi...@apache.org>.
yiguolei closed issue #10784: [Bug][Function] DCHECK fail on is_null_pred/is_not_null_pred
URL: https://github.com/apache/doris/issues/10784


-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org