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

Julian Hyde commented on CALCITE-5687:
--------------------------------------

Because {{getTable(String name, boolean caseSensitive) }} doesn't rely on 
{{getTableNames}}, that means more work for the person implementing a subclass 
of {{Schema}}, and more opportunity for inconsistency in the implementation. 
It's not a goal to add 'convenience methods' to {{Schema}}; we have 
{{SchemaPlus}} for that.

> lazy get scheme
> ---------------
>
>                 Key: CALCITE-5687
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5687
>             Project: Calcite
>          Issue Type: New Feature
>          Components: core
>    Affects Versions: 1.34.0
>            Reporter: yiku123
>            Assignee: yiku123
>            Priority: Major
>             Fix For: 1.35.0
>
>
> scence:now i use calcite on my web application
> use and problem :when rewrite 
> org.apache.calcite.schema.impl.AbstractSchema#getTableMap method ,i must to 
> provide  all table scheme informations,but i  only want to provide scheme 
> when my SQL actually use a table。because i don't want my application load 
> many schemes event if not to use.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to