[
https://issues.apache.org/jira/browse/CASSANDRA-9961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14791498#comment-14791498
]
Stefania commented on CASSANDRA-9961:
-------------------------------------
I've rebased and added the fixes for CASSANDRA-10348 and CASSANDRA-10328 to
this branch to make things easier for testing. See updated dtests here:
https://github.com/riptano/cassandra-dtest/pull/553.
I cannot reproduce the double ";;" with the latest driver, I assume it has been
fixed in the driver. This test would pick it up: {{nosetests -s
cqlsh_tests/cqlsh_tests.py:TestCqlsh.test_describe_mv}}.
bq. In any case I think it should be best to add a DTest to cover that use case.
I added it to {{cqlsh_tests.py:TestCqlsh.test_materialized_view}}. For
CASSANDRA-10328 I've also added
{{pushed_notifications_test.py:TestPushedNotifications.schema_changes_test}}.
bq. It will be also nice to add a DTest with a quoted name for the MV as we had
in the past several issues with index quoted name.
I added two test cases to {{cqlsh_tests.py:TestCqlsh.test_describe_mv}}. It
appears we only support double quotes, not single quotes, I assume this is
expected? This is true for all cf and mv names.
bq. The order of the clustering columns in the primary key returned by the
describe is wrong
I don't think the fix is on cassandra-dtest yet. So I haven't done anything
about this. In any case I propose a new ticket for this so we can go ahead and
commit this if all else is OK.
> cqlsh should have DESCRIBE MATERIALIZED VIEW
> --------------------------------------------
>
> Key: CASSANDRA-9961
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9961
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Carl Yeksigian
> Assignee: Stefania
> Labels: client-impacting, materializedviews
> Fix For: 3.0.0 rc1
>
>
> cqlsh doesn't currently produce describe output that can be used to recreate
> a MV. Needs to add a new {{DESCRIBE MATERIALIZED VIEW}} command, and also add
> to {{DESCRIBE KEYSPACE}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)