You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Maryann Xue (JIRA)" <ji...@apache.org> on 2015/07/23 05:26:05 UTC

[jira] [Issue Comment Deleted] (CALCITE-761) Pre-populated materializations

     [ https://issues.apache.org/jira/browse/CALCITE-761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maryann Xue updated CALCITE-761:
--------------------------------
    Comment: was deleted

(was: 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)