You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stefania (JIRA)" <ji...@apache.org> on 2015/09/15 09:34:46 UTC

[jira] [Comment Edited] (CASSANDRA-9961) cqlsh should have DESCRIBE MATERIALIZED VIEW

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

Stefania edited comment on CASSANDRA-9961 at 9/15/15 7:33 AM:
--------------------------------------------------------------

Thanks [~aholmber]. I've attached a patch based on the CASSANDRA-9921 branch and your driver branch but I still haven't zipped the driver, so {{cqlsh}} must be run with the environment variable {{CQLSH_NO_BUNDLED}} defined (in case anyone wants to try it out). 

There is one more thing I need: can {{MaterializedViewMetadata}} implement {{export_as_string}} by returning {{as_cql_query(formatted=True)}} so we can call a unique method on any metadata object that can be described after a simple {{DESCRIBE}} with no type specified (currently ks, table, index and mv)?




was (Author: stefania):
Thanks [~aholmber]. I've attached a patch based on the CASSANDRA-9921 branch and your driver branch but I still haven't zipped the driver, so {{cqlsh}} must be run with the environment variable {{CQLSH_NO_BUNDLED}} defined (in case anyone wants to try it out). 

There is one more thing I need: either {{MaterializedViewMetadata}} implements {{export_as_string}} by returning {{as_cql_query(formatted=True)}} or all metadata objects should accept the {{formatted}} parameter in {{as_cql_query()}}. Basically I need to be able to call one unique method on any metadata object that can be described (currently ks, table, index and mv).



> 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)