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

Laljo John Pullokkaran updated CALCITE-1007:
--------------------------------------------
    Description: 
select * from (select 1 as x from t1) t1 join (select stroll as x from t2)t2 on 
t1.x=t2.x;

While transferring x=1 from t1 to t2, we don't use the correct type for 'x' on 
t2.
This could result in data correctness issues.

  was:
select * from (select 1 as x from t1) t1 join (select stroll as x from t2)t2 
join t1.x=t2.x;

While transferring x=1 from t1 to t2, we don't use the correct type for 'x' on 
t2.
This could result in data correctness issues.


> Transitive Inference on Join Condition is not type safe
> -------------------------------------------------------
>
>                 Key: CALCITE-1007
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1007
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.5.0
>            Reporter: Laljo John Pullokkaran
>            Assignee: Laljo John Pullokkaran
>
> select * from (select 1 as x from t1) t1 join (select stroll as x from t2)t2 
> on t1.x=t2.x;
> While transferring x=1 from t1 to t2, we don't use the correct type for 'x' 
> on t2.
> This could result in data correctness issues.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to