You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2015/09/17 13:07:46 UTC
[jira] [Commented] (CASSANDRA-10361) DropTableStatement do not
throw an error if the table is a view
[ https://issues.apache.org/jira/browse/CASSANDRA-10361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14802751#comment-14802751 ]
Aleksey Yeschenko commented on CASSANDRA-10361:
-----------------------------------------------
This works, but would be better to just switch
{code}
CFMetaData cfm = ksm.tables.getNullable(columnFamily());
{code}
with
{code}
CFMetaData cfm = ksm.getTableOrViewNullable(columnFamily());
{code}
instead.
> DropTableStatement do not throw an error if the table is a view
> ---------------------------------------------------------------
>
> Key: CASSANDRA-10361
> URL: https://issues.apache.org/jira/browse/CASSANDRA-10361
> Project: Cassandra
> Issue Type: Bug
> Reporter: Benjamin Lerer
> Assignee: Benjamin Lerer
> Fix For: 3.0.0 rc1
>
> Attachments: 10361-3.0.txt
>
>
> While testing cqlsh, I discovered that {{DROP TABLE <mv name>;}} was not rejected and that it was corrupting the MV.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)