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

Liang-Chi Hsieh updated SPARK-13321:
------------------------------------
    Description: 
The following SQL can not be parsed with current parser:

{code}
SELECT  `u_1`.`id` FROM (((SELECT  `t0`.`id` FROM `default`.`t0`) UNION ALL 
(SELECT  `t0`.`id` FROM `default`.`t0`)) UNION ALL (SELECT  `t0`.`id` FROM 
`default`.`t0`)) AS u_1
{code}

We should fix it.

The above description is for ANTLR3 parser. As ANTLR4 parser supports it now, 
we just need to add test cases.

  was:
The following SQL can not be parsed with current parser:

{code}
SELECT  `u_1`.`id` FROM (((SELECT  `t0`.`id` FROM `default`.`t0`) UNION ALL 
(SELECT  `t0`.`id` FROM `default`.`t0`)) UNION ALL (SELECT  `t0`.`id` FROM 
`default`.`t0`)) AS u_1
{code}

We should fix it.


> Add nested union test cases
> ---------------------------
>
>                 Key: SPARK-13321
>                 URL: https://issues.apache.org/jira/browse/SPARK-13321
>             Project: Spark
>          Issue Type: Test
>          Components: SQL
>            Reporter: Liang-Chi Hsieh
>            Assignee: Liang-Chi Hsieh
>            Priority: Minor
>
> The following SQL can not be parsed with current parser:
> {code}
> SELECT  `u_1`.`id` FROM (((SELECT  `t0`.`id` FROM `default`.`t0`) UNION ALL 
> (SELECT  `t0`.`id` FROM `default`.`t0`)) UNION ALL (SELECT  `t0`.`id` FROM 
> `default`.`t0`)) AS u_1
> {code}
> We should fix it.
> The above description is for ANTLR3 parser. As ANTLR4 parser supports it now, 
> we just need to add test cases.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to