[
https://issues.apache.org/jira/browse/CASSANDRA-13798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16148811#comment-16148811
]
Paulo Motta commented on CASSANDRA-13798:
-----------------------------------------
bq. Updated NEWS.txt and introduced a flag:
cassandra.mv.filtering.nonkey.columns=false.
Thanks, the patch LGTM. I just updated the flag to
{{cassandra.mv.allow_filtering_nonkey_columns_unsafe}} (added unsafe to make
sure it's not safe unless you know what you are doing, and replaced dots for
underscores, since dot is usually used to separate the flag component but not
the flag name), hope that's OK.
Committed to cassandra-3.11 and merged to trunk as
{{425880ffb2e6bd5aeaa509fdbfa553db58b74c43}}. Thank you!
Created CASSANDRA-13832 to re-enable and remove the flag after we have
CASSANDRA-13826.
> Disallow filtering on non-primary-key base column for MV
> --------------------------------------------------------
>
> Key: CASSANDRA-13798
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13798
> Project: Cassandra
> Issue Type: Bug
> Components: Materialized Views
> Reporter: ZhaoYang
> Assignee: ZhaoYang
>
> We should probably consider disallow filtering conditions on non-primary-key
> base column for Materialized View which is introduced in CASSANDRA-10368.
> The main problem is that the liveness of view row is now depending on
> multiple base columns (multiple filtered non-pk base column + base column
> used in view pk) and this semantic could not be properly support without
> drastic storage format changes. (SEE CASSANDRA-11500,
> [background|https://issues.apache.org/jira/browse/CASSANDRA-11500?focusedCommentId=16119823&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16119823])
> We should step back and re-consider the non-primary-key filtering feature
> together with supporting multiple non-PK cols in MV clustering key in
> CASSANDRA-10226.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]