[ https://issues.apache.org/jira/browse/HIVE-2478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183428#comment-13183428 ]
Phabricator commented on HIVE-2478: ----------------------------------- ashutoshc has commented on the revision "HIVE-2478 [jira] Support dry run option in hive". INLINE COMMENTS ql/src/java/org/apache/hadoop/hive/ql/Driver.java:479-488 Analysis would be complete but validation won't. I think when some wants a dryrun till analysis they want to know that whether query is semantically valid or not and not just whether semantic analysis phase could be completed successfully. ql/src/java/org/apache/hadoop/hive/ql/Driver.java:944 Didn't get. How come Parse, Analyze get here? I was assuming execution returns if dry mode is set to one of these modes. Also, now that we have agreed to get rid of OFF, this needs to be modified anyways. If you still plan not to use PLAN, then I think that should be removed from enum, since else it sounds confusing to me. ql/src/test/queries/clientnegative/dryrun_bad_fetch_serde.q:1 Try: -- comment Note don't put ; at the end of line. REVISION DETAIL https://reviews.facebook.net/D927 > 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 > Assignee: Sushanth Sowmyan > 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