You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jonathan Seidman (JIRA)" <ji...@apache.org> on 2014/03/21 20:37:42 UTC

[jira] [Created] (HIVE-6725) getTables() only returns partial table descriptions

Jonathan Seidman created HIVE-6725:
--------------------------------------

             Summary: getTables() only returns partial table descriptions 
                 Key: HIVE-6725
                 URL: https://issues.apache.org/jira/browse/HIVE-6725
             Project: Hive
          Issue Type: Bug
          Components: JDBC
    Affects Versions: 0.12.0
            Reporter: Jonathan Seidman
            Priority: Minor


The ResultSet from calling DatabaseMetaData.getTables() only returns 5 columns, as opposed to the 10 columns called for in the JDBC spec:

TABLE_CAT String => table catalog (may be null)
TABLE_SCHEM String => table schema (may be null)
TABLE_NAME String => table name
TABLE_TYPE String => table type. Typical types are "TABLE", "VIEW", "SYSTEM TABLE", "GLOBAL TEMPORARY", "LOCAL TEMPORARY", "ALIAS", "SYNONYM".
REMARKS String => explanatory comment on the table
TYPE_CAT String => the types catalog (may be null)
TYPE_SCHEM String => the types schema (may be null)
TYPE_NAME String => type name (may be null)
SELF_REFERENCING_COL_NAME String => name of the designated "identifier" column of a typed table (may be null)
REF_GENERATION String => specifies how values in SELF_REFERENCING_COL_NAME are created. Values are "SYSTEM", "USER", "DERIVED". (may be null)



--
This message was sent by Atlassian JIRA
(v6.2#6252)