Bruno do Amaral created HIVE-13528:
--------------------------------------
Summary: Invalid column metadata for autoincrement
Key: HIVE-13528
URL: https://issues.apache.org/jira/browse/HIVE-13528
Project: Hive
Issue Type: Bug
Components: JDBC
Affects Versions: 2.0.0
Reporter: Bruno do Amaral
Assignee: Vaibhav Gumashta
Priority: Minor
As stated by the documentation, the return of getColumns() from
DatabaseMetaData
(https://docs.oracle.com/javase/7/docs/api/java/sql/DatabaseMetaData.html#getColumns(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String))
should return a ResultSet with a few columns, including one named
"IS_AUTOINCREMENT" used to describe if the attribute is auto increment.
However, in Hive implementation, the column is named "IS_AUTO_INCREMENT" (as
stated in line 107 of file
service/src/java/org/apache/hive/service/cli/operation/GetColumnsOperation.java).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)