[ https://issues.apache.org/jira/browse/HIVE-7676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14093234#comment-14093234 ]
Alexander Pivovarov commented on HIVE-7676: ------------------------------------------- patch content: 1. getIdentifierQuoteString returns space 2. getIndexInfo returns empty ResultSet similar to getPrimaryKeys 3.1 supportsFullOuterJoins = true 3.2 supportsLimitedOuterJoins = true 4.1 supportsSchemasInDataManipulation = true 4.2 supportsSchemasInTableDefinitions = true 5.1 supportsUnion = false 5.2 supportsUnionAll = true 6. HiveResultSetMetaData.isReadOnly = true > Support more methods in HiveDatabaseMetaData > -------------------------------------------- > > Key: HIVE-7676 > URL: https://issues.apache.org/jira/browse/HIVE-7676 > Project: Hive > Issue Type: Improvement > Components: JDBC > Affects Versions: 0.13.1 > Reporter: Alexander Pivovarov > Attachments: HIVE-7676.patch > > > 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 shows databases only if supportsSchemasInTableDefinitions > returns true. > Also hive 0.14.0 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)