hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghotham Murthy (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-753) Move parsing of multiple queries from CLI into Hive parser
Date Thu, 13 Aug 2009 19:29:14 GMT

    [ https://issues.apache.org/jira/browse/HIVE-753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742938#action_12742938
] 

Raghotham Murthy commented on HIVE-753:
---------------------------------------

I spoke to Eric about this. His changes dont handle SET statements. So, if there are SET statements
between two queries, the parser will error out. Also, it is not clear what the behavior should
be if there are multiple SELECT statements (no INSERT). The patch currently silently just
picks up the schema of the last query. If that is the case, should we even run the intermediate
SELECT queries? (answer: potentially, that they may have side effects). Maybe we should return
a list of ResultSets, one per statement. Or, error out if there are multiple SELECT statements
submitted at once.

> Move parsing of multiple queries from CLI into Hive parser
> ----------------------------------------------------------
>
>                 Key: HIVE-753
>                 URL: https://issues.apache.org/jira/browse/HIVE-753
>             Project: Hadoop Hive
>          Issue Type: Sub-task
>            Reporter: Eric Hwang
>            Assignee: Eric Hwang
>            Priority: Minor
>         Attachments: HIVE-753.1.patch
>
>
> CLI breaks down queries containing multiple statements and submits them to the Hive query
parser one by one. This functionality should be added to the Hive language grammar so that
other clients may also submit multiple queries. It will also make it easier to handle comments
in Hive queries.

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