[
https://issues.apache.org/jira/browse/CALCITE-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14543499#comment-14543499
]
YeongWei edited comment on CALCITE-708 at 5/14/15 11:28 AM:
------------------------------------------------------------
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 Schema's implementation does not
>have this implemented.
Probable we could add a method like Schema#getSupportedDataTypes ?
Look forward for your response.
Thanks!
was (Author: yeongwei):
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)