wutiangan opened a new issue #3596:
URL: https://github.com/apache/incubator-doris/issues/3596
### How to produce
SQL: select * from baseall where (a = 1) or (a = 1 and B = 2)
this SQL throws Unexpected exception: nul
### reason
if "(a = 1)" is extracted as a common factor expression in
OrCompoundPredicate predicate fold Stage, then the first binaryPredicate of
OrCompoundPredicate "(a = 1)" has no expression when the common factor
expression is remove.d Exception occurs when building composite predicate, for
the left expression list size is zero.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]