Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive, mail # dev - Review Request 14484: HIVE-5440: HiveServer2 doesn't apply SQL operation's config property


Copy link to this message
-
Review Request 14484: HIVE-5440: HiveServer2 doesn't apply SQL operation's config property
Prasad Mujumdar 2013-10-04, 07:16

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/14484/
-----------------------------------------------------------

Review request for hive.
Bugs: HIVE-5440
    https://issues.apache.org/jira/browse/HIVE-5440
Repository: hive-git
Description
-------

The patch clones the session config object and applies the specified per-operation properties, if any. This way the changes are applicable to the current driver and not to the parent session. The patch also extends this for the async query to isolate the session and query config.
Diffs
-----

  service/src/java/org/apache/hive/service/cli/operation/ExecuteStatementOperation.java 6b5a5c3
  service/src/java/org/apache/hive/service/cli/operation/SQLOperation.java bb0f711
  service/src/test/org/apache/hive/service/cli/CLIServiceTest.java 794ede8

Diff: https://reviews.apache.org/r/14484/diff/
Testing
-------

Added new test cases for the patch
Thanks,

Prasad Mujumdar