You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "YeongWei (JIRA)" <ji...@apache.org> on 2015/05/14 13:28:00 UTC

[jira] [Commented] (CALCITE-708) Avatica and Calcite to support DatabaseMetaData getTypeInfo

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

YeongWei commented on CALCITE-708:
----------------------------------

Hi [~julianhyde],

Few queries regarding this JIRA from implementation perspective,

1. For implementations with SchemaFactory and TableFactory, are the information for this metadata to be facilitate by those factory implementation? E.g. CsvSchemaaFactory to be able to return a MAP of supported JDBC Data Types ?

2. For implementations with JdbcSchema, similarly are the information to be retrieve from the underlying data source after the data source has been created? E.g. Like the JdbcSchema#computeTables() method where it does it connection.getMetaData() ?

>From the various examples given, I think all Schma's implementation does not have this implemented.

Look forward for your response.

Thanks!

> Avatica and Calcite to support DatabaseMetaData getTypeInfo
> -----------------------------------------------------------
>
>                 Key: CALCITE-708
>                 URL: https://issues.apache.org/jira/browse/CALCITE-708
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter: Xavier FH Leong
>            Assignee: Julian Hyde
>            Priority: Minor
>              Labels: avatica, metadata
>
> http://docs.oracle.com/javase/7/docs/api/java/sql/DatabaseMetaData.html#getTypeInfo() 
> Avatica to call underlying connection database metadata for getTypeInfo to show the database supported type and meta info.
> Calcite to provide the info for the underlying adapter thru SqlTypeName and RelDataType



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