cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Jake Luciani (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-6477) Materialized Views (was: Global Indexes)
Date Mon, 13 Jul 2015 16:42:19 GMT


T Jake Luciani commented on CASSANDRA-6477:

bq. You can include any part of the original primary key in your MV primary key and a single
column that was not part of your original primary key

The reason is we don't have a way to enforce NOT NULL for non-PK keys.  If you have two non-PK
cols as part of the view PK then how can you update the view if the other is NULL.  

I was thinking if we added a NOT NULL syntax to CQL column defintions like exist in SQL we
could probably support this.

> Materialized Views (was: Global Indexes)
> ----------------------------------------
>                 Key: CASSANDRA-6477
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: API, Core
>            Reporter: Jonathan Ellis
>            Assignee: Carl Yeksigian
>              Labels: cql
>             Fix For: 3.0 beta 1
>         Attachments:, users.yaml
> Local indexes are suitable for low-cardinality data, where spreading the index across
the cluster is a Good Thing.  However, for high-cardinality data, local indexes require querying
most nodes in the cluster even if only a handful of rows is returned.

This message was sent by Atlassian JIRA

View raw message