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

Switch to Threaded View
Hive >> mail # dev >> Review Request: HIVE-4395: Support TFetchOrientation.FIRST for HiveServer2 FetchResults


Copy link to this message
-
Review Request: HIVE-4395: Support TFetchOrientation.FIRST for HiveServer2 FetchResults

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

Review request for hive and Carl Steinbach.
Description
-------

Support fetch-from-start for hiveserver2 fetch operations.
 - Handle new fetch orientation for various HS2 operations.
 - Added support to reset the read position in Hive driver
 - Enabled scroll cursors with support for positioning cursor to start of resultset
This addresses bug HIVE-4395.
    https://issues.apache.org/jira/browse/HIVE-4395
Diffs
-----

  jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java 17b4d39
  jdbc/src/java/org/apache/hive/jdbc/HiveQueryResultSet.java 7ac2fac
  jdbc/src/java/org/apache/hive/jdbc/HiveStatement.java aeae800
  jdbc/src/test/org/apache/hive/jdbc/TestJdbcDriver2.java 938dd9a
  ql/src/java/org/apache/hadoop/hive/ql/Context.java 6466275
  ql/src/java/org/apache/hadoop/hive/ql/Driver.java df9fe87
  ql/src/java/org/apache/hadoop/hive/ql/exec/FetchTask.java c76c37d
  service/src/java/org/apache/hive/service/cli/operation/GetCatalogsOperation.java 581e69c
  service/src/java/org/apache/hive/service/cli/operation/GetColumnsOperation.java af87a90
  service/src/java/org/apache/hive/service/cli/operation/GetFunctionsOperation.java 0fe01c0
  service/src/java/org/apache/hive/service/cli/operation/GetSchemasOperation.java 6970f35
  service/src/java/org/apache/hive/service/cli/operation/GetTableTypesOperation.java eaf867e
  service/src/java/org/apache/hive/service/cli/operation/GetTablesOperation.java df8b5b3
  service/src/java/org/apache/hive/service/cli/operation/GetTypeInfoOperation.java 2daa9cd
  service/src/java/org/apache/hive/service/cli/operation/HiveCommandOperation.java 60148cb
  service/src/java/org/apache/hive/service/cli/operation/Operation.java b354ac9
  service/src/java/org/apache/hive/service/cli/operation/SQLOperation.java 2fee93e

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

Added new JDBC test cases.
Thanks,

Prasad Mujumdar