[
https://issues.apache.org/jira/browse/TAJO-1030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14156244#comment-14156244
]
ASF GitHub Bot commented on TAJO-1030:
--------------------------------------
Github user babokim commented on a diff in the pull request:
https://github.com/apache/tajo/pull/145#discussion_r18328539
--- Diff:
tajo-client/src/main/java/org/apache/tajo/jdbc/TajoResultSetMetaData.java ---
@@ -112,7 +113,7 @@ public int getScale(int column) throws SQLException {
@Override
public String getSchemaName(int column) throws SQLException {
- throw new SQLFeatureNotSupportedException("getSchemaName not
supported");
+ return "";
--- End diff --
I also checked PostgreSQL jdbc driver. PostgreSQL returns a empty string.
https://github.com/pgjdbc/pgjdbc/blob/master/org/postgresql/jdbc2/AbstractJdbc2ResultSetMetaData.java
> Not supported JDBC APIs should return empty results instead of Exception
> ------------------------------------------------------------------------
>
> Key: TAJO-1030
> URL: https://issues.apache.org/jira/browse/TAJO-1030
> Project: Tajo
> Issue Type: Improvement
> Reporter: Hyunsik Choi
> Assignee: Hyoungjun Kim
> Priority: Minor
>
> Currently, some unsupported JDBC APIs throw Exception. They do not allow
> exiting JDBC like BI solutions to connect Tajo. So, we should change them to
> result in empty results with correct schemas.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)