[ 
https://issues.apache.org/jira/browse/CALCITE-4758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

duan xiong updated CALCITE-4758:
--------------------------------
    Description: When inSubQueryThreshold is less than the SqlNodeListSize, The 
SqlNodeList can't convert to OR condition. Then the result is not right.  (was: 
In 3-valued logic, as we know:
{code:java}
unknow and false => false
{code}
So the SQL:
{code:java}
select 1 = all(null, 2) should return false but is null.
{code}
{code:java}
select 1 = all(null, 2, 1) should return false but is true.
{code})

> When sub-query is SqlNodeList, Calcite returns wrong result 
> ------------------------------------------------------------
>
>                 Key: CALCITE-4758
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4758
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.27.0
>            Reporter: duan xiong
>            Assignee: duan xiong
>            Priority: Major
>
> When inSubQueryThreshold is less than the SqlNodeListSize, The SqlNodeList 
> can't convert to OR condition. Then the result is not right.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to