You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Laljo John Pullokkaran (JIRA)" <ji...@apache.org> on 2015/12/07 19:26:11 UTC

[jira] [Updated] (CALCITE-1007) Transitive Inference on Join Condition is not type safe

     [ 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 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,

  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. 


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



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