You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Pengcheng Xiong (JIRA)" <ji...@apache.org> on 2016/12/15 22:52:58 UTC

[jira] [Updated] (HIVE-15200) Support setOp in subQuery with parentheses

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

Pengcheng Xiong updated HIVE-15200:
-----------------------------------
    Status: Patch Available  (was: Open)

> Support setOp in subQuery with parentheses
> ------------------------------------------
>
>                 Key: HIVE-15200
>                 URL: https://issues.apache.org/jira/browse/HIVE-15200
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Pengcheng Xiong
>            Assignee: Pengcheng Xiong
>         Attachments: HIVE-15200.01.patch, HIVE-15200.02.patch
>
>
> {code}
> explain select key from ((select key from src) union (select key from src))subq;
> {code}
> will throw
> {code}
> FAILED: ParseException line 1:47 cannot recognize input near 'union' '(' 'select' in subquery source
> {code}



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