[
https://issues.apache.org/jira/browse/CALCITE-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15315032#comment-15315032
]
Julian Hyde commented on CALCITE-1272:
--------------------------------------
Good one! Let me know if need help solving it. Frankly I'd start by re-ordering
calls in ModelHandler.
> Can't use tables created in JsonMapSchema in JsonSchema materializations
> ------------------------------------------------------------------------
>
> Key: CALCITE-1272
> URL: https://issues.apache.org/jira/browse/CALCITE-1272
> Project: Calcite
> Issue Type: Bug
> Reporter: Michael Mior
> Assignee: Julian Hyde
>
> Currently since {{JsonMapSchema}} is a subclass of {{JsonSchema}} it calls
> {{super}} first in its {{visitChildren}} method. {{visitChildren}} accepts
> any materializations before any custom tables have a chance to be populated.
> This means that these tables can't be used in materializations. Not sure what
> the best way to fix this is.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)