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

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

[~alex_pl], [~tledkov-gridgain] guys can u help with merge ? thanks 

> 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)

Reply via email to