[
https://issues.apache.org/jira/browse/CASSANDRA-18596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17732388#comment-17732388
]
Maciej Sokol commented on CASSANDRA-18596:
------------------------------------------
[Preliminary PR for 4.0|https://github.com/apache/cassandra/pull/2417]
> Assertion error when describing mv as table
> -------------------------------------------
>
> Key: CASSANDRA-18596
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18596
> Project: Cassandra
> Issue Type: Bug
> Reporter: Maciej Sokol
> Priority: Normal
>
> When describing materialized view as a table Cassandra gets an assertion
> error.
> Steps to reproduce:
> CREATE KEYSPACE test WITH replication = \{'class': 'NetworkTopologyStrategy',
> 'datacenter1': '3'} AND durable_writes = true;
> CREATE TABLE test.table1 (key1 text,key2 int,value int,PRIMARY KEY (key1,
> key2));
> CREATE MATERIALIZED VIEW test.table1_by_value AS SELECT key1, key2, value
> FROM test.table1 WHERE value IS NOT NULL AND key1 IS NOT NULL AND key2 IS NOT
> NULL PRIMARY KEY(value, key1, key2);
> DESCRIBE MATERIALIZED VIEW test.table1;
> DESCRIBE TABLE test.table1_by_value;
> DESCRIBE TABLE test.non_existing;
>
> From the above the "DESCRIBE TABLE test.table1_by_value;" throws an assertion
> error.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]