You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Shuyi Chen (JIRA)" <ji...@apache.org> on 2018/01/31 03:55:00 UTC
[jira] [Commented] (CALCITE-2161) Add "types" collection to the
schema element in the JSON model
[ https://issues.apache.org/jira/browse/CALCITE-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16346222#comment-16346222 ]
Shuyi Chen commented on CALCITE-2161:
-------------------------------------
I am thinking of add the following method to the Schema interface. Can you shed some light on the changes needed, [~julianhyde]?
{code:java}
public interface Schema {
......
/**
* Returns a type with a given name, or null if not found.
*
* @param name Table name
* @return Table, or null
*/
RelDataType getType(String name);
/**
* Returns the names of the types in this schema.
*
* @return Names of the tables in this schema
*/
Set<String> getTypeNames();
......
}
{code}
> Add "types" collection to the schema element in the JSON model
> --------------------------------------------------------------
>
> Key: CALCITE-2161
> URL: https://issues.apache.org/jira/browse/CALCITE-2161
> Project: Calcite
> Issue Type: Task
> Components: core
> Affects Versions: 1.16.0
> Reporter: Shuyi Chen
> Assignee: Julian Hyde
> Priority: Major
>
> As discussed in CALCITE-2045, we need to add "types" collection in the schema element in the JSON model.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)