You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Michael Mior (JIRA)" <ji...@apache.org> on 2016/02/27 03:40:18 UTC

[jira] [Created] (CALCITE-1104) Materialized view support for Cassandra adapter

Michael Mior created CALCITE-1104:
-------------------------------------

             Summary: Materialized view support for Cassandra adapter
                 Key: CALCITE-1104
                 URL: https://issues.apache.org/jira/browse/CALCITE-1104
             Project: Calcite
          Issue Type: Improvement
            Reporter: Michael Mior
            Assignee: Julian Hyde
            Priority: Minor


I managed to get support for a subset of Cassandra [materialized views|https://www.datastax.com/dev/blog/new-in-cassandra-3-0-materialized-views]. ( Thanks owed to some hints from [~maryannxue]!)

The one thing I noticed so far which is not supported is UUID literals in the WHERE clauses in the Cassandra view definition. However, I don't think that's a common use case. The adapter will log a warning if it encounters a view that can't be processed. At the very least, the view will be exposed as a table to Calcite (it wasn't in the previous version of the adapter).

As per [CALCITE-1101|https://issues.apache.org/jira/browse/CALCITE-1101], there is probably a better way to hook in and add these views. I thought I would still put this up for now. I'd still like to add some tests before considering this viable.



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