[
https://issues.apache.org/jira/browse/TAJO-1030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14156631#comment-14156631
]
ASF GitHub Bot commented on TAJO-1030:
--------------------------------------
Github user hyunsik commented on a diff in the pull request:
https://github.com/apache/tajo/pull/145#discussion_r18344162
--- 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 --
Thank you for checking. Keep going.
I misunderstood due to the following statements
(http://www.postgresql.org/docs/9.2/static/ddl-schemas.html).
```In the previous sections we created tables without specifying any schema
names. By default such tables (and other objects) are automatically put into a
schema named "public". Every new database contains such a schema.```
> 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)