hive-dev mailing list archives

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


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

View raw message