You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Stanilovsky Evgeny (Jira)" <ji...@apache.org> on 2021/05/19 12:56:00 UTC

[jira] [Commented] (IGNITE-14737) Calcite. Equals predicate with multiple results from subqueries must fail.

    [ https://issues.apache.org/jira/browse/IGNITE-14737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17347650#comment-17347650 ] 

Stanilovsky Evgeny commented on IGNITE-14737:
---------------------------------------------

[~alex_pl] fix your comments, check plz.

> Calcite. Equals predicate with multiple results from subqueries must fail.  
> ----------------------------------------------------------------------------
>
>                 Key: IGNITE-14737
>                 URL: https://issues.apache.org/jira/browse/IGNITE-14737
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>            Reporter: Stanilovsky Evgeny
>            Assignee: Stanilovsky Evgeny
>            Priority: Major
>              Labels: calcite
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Suppose table looks like :
> *products*
> ||name||cat_id||subcat_id||
> |n1|1|10|
> |n2|2|10|
> |n3|3|11|
> and request :
> {noformat}
> SELECT NAME FROM products WHERE CAT_ID = (SELECT CAT_ID FROM products WHERE SUBCAT_ID = 10)
> {noformat}
> for now it correctly executed and returns undefined results, proposal : return ERROR and appropriate message.



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