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

Maryann Xue commented on CALCITE-761:
-------------------------------------

Thank you, [~julianhyde]! Any chance to get it in 1.4 release?

> Pre-populated materializations
> ------------------------------
>
>                 Key: CALCITE-761
>                 URL: https://issues.apache.org/jira/browse/CALCITE-761
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>             Fix For: 1.4.0-incubating
>
>         Attachments: CALCITE-761-branch.patch
>
>
> The design for materializations (materialized views) allows for them to be 
> populated on demand (e.g. as an ArrayTable) the first time that the 
> materialization is needed or to already exist, having been populated by the 
> user.
> According to [~maryannxue] the latter case does not work. Calcite tries to 
> create a new table with the same name as the current table, then makes the 
> name unique by adding a digit, then goes ahead and populates it.
> We need to (a) allow such materializations to be defined in the JSON model, 
> (b) document how to define them, (c) make them work, (d) add tests.
> Cc [~jamestaylor], as this is related to optimization for Phoenix secondary 
> indexes.



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

Reply via email to