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

Julian Hyde commented on CALCITE-708:
-------------------------------------

This method is supposed to return the type-info for the whole database, not a 
particular schema. So I don't think Calcite should be talking to Schema, Table, 
SchemaFactory or TableFactory. It should basically return the same thing for 
any instance of Calcite -- with some tweaking depending on the current 
RelDataTypeSystem.

When Calcite is not involved, JdbcMeta should just return getTypeInfo from the 
underlying database.

> 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)

Reply via email to