[
https://issues.apache.org/jira/browse/CALCITE-4758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
xiong duan updated CALCITE-4758:
--------------------------------
Summary: When SOME sub-query is SqlNodeList and converted to VALUES,
Calcite returns incorrect result (was: When SOME sub-query is SqlNodeList,
Calcite returns wrong result )
> When SOME sub-query is SqlNodeList and converted to VALUES, Calcite returns
> incorrect 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: xiong duan
> Assignee: xiong duan
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> As discussed in the comments: The SQL
> {code:java}
> select * from "scott".emp where sal > some (4000, 2000)
> {code}
> isĀ illegal SQL. So we should throw an exception instead of return a wrong
> result.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)