[ 
https://issues.apache.org/jira/browse/CALCITE-789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14617127#comment-14617127
 ] 

Julian Hyde commented on CALCITE-789:
-------------------------------------

Good catch. The "TABLE_CATALOG" field came from 
MetaImpl.MetaCatalog.tableCatalog (derived by converting camel-case to 
upper-case with underscores) and renaming it to tableCat solves the problem.

Can you please quickly review that the field names in MetaImpl match the names 
in the JDBC spec and log any other violations?

> MetaImpl.MetaCatalog should expose TABLE_CAT instead of TABLE_CATALOG
> ---------------------------------------------------------------------
>
>                 Key: CALCITE-789
>                 URL: https://issues.apache.org/jira/browse/CALCITE-789
>             Project: Calcite
>          Issue Type: Bug
>          Components: avatica
>    Affects Versions: 1.3.0-incubating
>            Reporter: liyang
>            Assignee: Julian Hyde
>
> According to 
> http://docs.oracle.com/javase/7/docs/api/java/sql/DatabaseMetaData.html#getCatalogs(),
>  MetaImpl.MetaCatalog should expose TABLE_CAT instead of TABLE_CATALOG



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to