Navis created HIVE-3050:
---------------------------
Summary: JDBC should provide metadata for columns whether a column
is a partition column or not
Key: HIVE-3050
URL: https://issues.apache.org/jira/browse/HIVE-3050
Project: Hive
Issue Type: Improvement
Components: JDBC
Affects Versions: 0.10.0
Reporter: Navis
Assignee: Navis
Priority: Minor
Trivial request from UI developers.
{code}
DatabaseMetaData databaseMetaData = connection.getMetaData();
ResultSet rs = databaseMetaData.getColumns(null, null, "tableName", null);
....
boolean partitionKey = rs.getBoolean("IS_PARTITION_COLUMN");
{code}
It's not JDBC standard column but seemed to be useful.
--
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