hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dere" <>
Subject Re: Review Request 32324: HIVE-10037 JDBC support for interval expressions
Date Wed, 01 Apr 2015 21:07:48 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated April 1, 2015, 9:07 p.m.)

Review request for hive, Ashutosh Chauhan and Thejas Nair.


Change hiveTypeToSqlType() to use typeStringToHiveType()

Bugs: HIVE-10037

Repository: hive-git


There is no interval type in Jdbc, so year-month intervals and day-time intervals both use
java.sql.Types.OTHER as the Jdbc type.
Also does some changes in JdbcColumn/HiveResultSetMetaData to allow a more accurate column
precision/display size in the case of interval types, and to allow users to use get the HiveIntervalYearMonth/HiveIntervalDayTime
values when calling ResultSet.getObject().

Diffs (updated)

  itests/hive-unit/src/test/java/org/apache/hive/jdbc/ 2c85877 
  jdbc/src/java/org/apache/hive/jdbc/ cd1916f 
  jdbc/src/java/org/apache/hive/jdbc/ 764a3f1 
  jdbc/src/java/org/apache/hive/jdbc/ 3fcdd56 
  jdbc/src/java/org/apache/hive/jdbc/ 4383f56 
  metastore/src/java/org/apache/hadoop/hive/metastore/ 2758eb0 
  ql/src/java/org/apache/hadoop/hive/ql/parse/ 3f4cfed 
  service/if/TCLIService.thrift 6f1a4ca 
  service/src/java/org/apache/hive/service/cli/ 9b48396 
  service/src/java/org/apache/hive/service/cli/ 92d237d 



Added test to TestJdbcDriver2


Jason Dere

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message