hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-415) Long queries does not parse in Hive
Date Wed, 15 Apr 2009 05:26:14 GMT

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

Zheng Shao updated HIVE-415:
----------------------------

    Attachment: HIVE-415.3.branch-0.3.patch

Added the test query. This is for branch-0.3.
Will make a patch for trunk soon.


> Long queries does not parse in Hive
> -----------------------------------
>
>                 Key: HIVE-415
>                 URL: https://issues.apache.org/jira/browse/HIVE-415
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.3.0, 0.4.0
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>            Priority: Critical
>         Attachments: HIVE-415.1.patch, HIVE-415.2.patch, HIVE-415.3.branch-0.3.patch
>
>
> A query like this won't parse, because the Hive grammar allows backtracking:
> {code}
> select 1 from mytable UNION ALL
> select 1 from mytable UNION ALL
> select 1 from mytable UNION ALL
> select 1 from mytable UNION ALL
> select 1 from mytable UNION ALL
> select 1 from mytable UNION ALL
> select 1 from mytable UNION ALL
> select 1 from mytable UNION ALL
> select 1 from mytable UNION ALL
> select 1 from mytable UNION ALL
> select 1 from mytable UNION ALL
> select 1 from mytable UNION ALL
> select 1 from mytable UNION ALL
> select 1 from mytable UNION ALL
> select 1 from mytable UNION ALL
> select 1 from mytable UNION ALL
> select 1 from mytable UNION ALL
> select 1 from mytable UNION ALL
> select 1 from mytable UNION ALL
> select 1 from mytable UNION ALL
> select 1 from mytable UNION ALL
> select 1 from mytable UNION ALL
> select 1 from mytable UNION ALL
> select 1 from mytable UNION ALL
> select 1 from mytable;
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message