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

Brandon Williams commented on CASSANDRA-18596:
----------------------------------------------

4.0: CASSANDRA-18366, the infamous CASSANDRA-16677
4.1: unrelated auth_test timeout
trunk: CASSANDRA-18440

+1 from me.

> Assertion error when describing mv as table
> -------------------------------------------
>
>                 Key: CASSANDRA-18596
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18596
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Feature/Materialized Views
>            Reporter: Maciej Sokol
>            Assignee: Maciej Sokol
>            Priority: Normal
>             Fix For: 4.0.x, 4.1.x, 5.x
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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 while "DESCRIBE TABLE test.non_existing;" returns a meaningful error 
> msg.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to