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

Phabricator updated HIVE-2478:
------------------------------

    Attachment: HIVE-2478.D927.1.patch

khorgath requested code review of "HIVE-2478 [jira] Support dry run option in 
hive".
Reviewers: JIRA

  Adding a hive.dry.run parameter that takes the following values : 
{off,parse,analyze,plan}

  They have the following behaviours:
  off : Nothing special, run query as expected
  parse : Return after parse finishes (acts as a syntax check)
  analyze : Return after semantic analysis finishes
  plan : Return after plan generation.

  Hive currently doesn't support a dry run option. For some complex queries we 
just want to verify the query syntax initally before running it. A dry run 
option where just the parsing is done without actual execution is a good option.

TEST PLAN
  EMPTY

REVISION DETAIL
  https://reviews.facebook.net/D927

AFFECTED FILES
  common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
  ql/src/test/results/clientnegative/dryrun_bad_parse.q.out
  ql/src/test/results/clientnegative/dryrun_nonexistant_table.q.out
  ql/src/test/results/clientnegative/dryrun_bad_fetch_serde.q.out
  ql/src/test/results/clientpositive/dryrun4.q.out
  ql/src/test/results/clientpositive/dryrun_nonexistant_table_parse_ok.q.out
  ql/src/test/results/clientpositive/dryrun_bad_fetch_serde_analyze_ok.q.out
  ql/src/test/results/clientpositive/dryrun1.q.out
  ql/src/test/results/clientpositive/dryrun2.q.out
  ql/src/test/results/clientpositive/dryrun3.q.out
  ql/src/test/queries/clientnegative/dryrun_bad_fetch_serde.q
  ql/src/test/queries/clientnegative/dryrun_nonexistant_table.q
  ql/src/test/queries/clientnegative/dryrun_bad_parse.q
  ql/src/test/queries/clientpositive/dryrun_nonexistant_table_parse_ok.q
  ql/src/test/queries/clientpositive/dryrun_bad_fetch_serde_analyze_ok.q
  ql/src/test/queries/clientpositive/dryrun1.q
  ql/src/test/queries/clientpositive/dryrun2.q
  ql/src/test/queries/clientpositive/dryrun3.q
  ql/src/test/queries/clientpositive/dryrun4.q
  ql/src/java/org/apache/hadoop/hive/ql/Driver.java

MANAGE HERALD DIFFERENTIAL RULES
  https://reviews.facebook.net/herald/view/differential/

WHY DID I GET THIS EMAIL?
  https://reviews.facebook.net/herald/transcript/1935/

Tip: use the X-Herald-Rules header to filter Herald messages in your client.

                
> Support dry run option in hive
> ------------------------------
>
>                 Key: HIVE-2478
>                 URL: https://issues.apache.org/jira/browse/HIVE-2478
>             Project: Hive
>          Issue Type: Improvement
>          Components: Configuration
>    Affects Versions: 0.9.0
>            Reporter: kalyan ram
>            Priority: Minor
>         Attachments: HIVE-2478-1.patch, HIVE-2478-2.patch, HIVE-2478-3.patch, 
> HIVE-2478.D927.1.patch
>
>
> Hive currently doesn't support a dry run option. For some complex queries we 
> just want to verify the query syntax initally before running it. A dry run 
> option where just the parsing is done without actual execution is a good 
> option.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to