hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-9734) Correlating expression cannot contain unqualified column references
Date Mon, 23 Feb 2015 13:24:11 GMT

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

Navis updated HIVE-9734:
------------------------
    Attachment: HIVE-9734.2.patch.txt

Fixed test fails

> Correlating expression cannot contain unqualified column references
> -------------------------------------------------------------------
>
>                 Key: HIVE-9734
>                 URL: https://issues.apache.org/jira/browse/HIVE-9734
>             Project: Hive
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 0.14.0
>            Reporter: N Campbell
>            Assignee: Navis
>            Priority: Minor
>         Attachments: HIVE-9734.1.patch.txt, HIVE-9734.2.patch.txt
>
>
> The following valid ISO-SQL constructs will not parse
> Unsupported SubQuery Expression 'c1': Correlating expression cannot contain unqualified
column references
> The statement will parse if the predicate is changed to where tjoin1.c1 in ( ....)
> select tjoin1.rnum, tjoin1.c1, tjoin1.c2 from tjoin1 where c1 in ( select c1 from tjoin1)

> select tjoin1.rnum, tjoin1.c1, tjoin1.c2 from tjoin1 where c1 in ( select tjoin1.c1 from
tjoin1) 
> select tjoin1.rnum, tjoin1.c1, tjoin1.c2 from tjoin1 where c1 in ( select x.c1 from tjoin1
x) 



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

Mime
View raw message