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

Julian Hyde commented on CALCITE-1030:
--------------------------------------

I think we should not call setCacheEnabled() when JsonSchema.cache is null. 
Anyone writing a model file will know whether the particular schema supports 
caching.

> Json ModelHandler calling SchemaPlus.setCacheEnabled() causes 
> UnsupportedOperationException when using SimpleCalciteSchema
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-1030
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1030
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Maryann Xue
>            Assignee: Maryann Xue
>            Priority: Minor
>             Fix For: 1.6.0
>
>
> Think we can either ignore setCache() in SimpleCalciteSchema or do not call 
> setCacheEnabled() when JsonSchema.cache is null.



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

Reply via email to