Alexander Pivovarov created HIVE-7676:
-----------------------------------------

             Summary: Support more methods in DatabaseMetaData
                 Key: HIVE-7676
                 URL: https://issues.apache.org/jira/browse/HIVE-7676
             Project: Hive
          Issue Type: Improvement
          Components: JDBC
            Reporter: Alexander Pivovarov


I noticed that some methods in HiveDatabaseMetaData throws exceptions instead 
of returning true/false. Many JDBC clients expects implementations for 
particular methods in order to work. 

E.g. SQuirrel SQL show databases only if supportsSchemasInTableDefinitions 
returns true.

Also hive 0.13.1 supports UNION ALL and does not support UNION
we can indicate this in HiveDatabaseMetaData instead of throwing Method Not 
supported exception.

getIdentifierQuoteString  should return space if not supported.
http://docs.oracle.com/javase/7/docs/api/java/sql/DatabaseMetaData.html#getIdentifierQuoteString%28%29




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

Reply via email to