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

Michael Mior commented on CALCITE-1104:
---------------------------------------

Awesome, thanks! Let me know if there's anything I can do to help. This happens 
to be particularly relevant here because Cassandra requires that materialized 
views be defined by a query which cannot produce NULL values for the primary 
keys.

> 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)

Reply via email to