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

T Jake Luciani commented on CASSANDRA-10179:
--------------------------------------------

What exactly does the driver do with that exception type?  We use this 
exception for Materialized Views as well now, so is that an issue?  Do we cover 
this dependency on this special exception type in the protocol?

> Duplicate index should throw AlreadyExistsException
> ---------------------------------------------------
>
>                 Key: CASSANDRA-10179
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10179
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: T Jake Luciani
>            Assignee: Sam Tunnicliffe
>            Priority: Minor
>             Fix For: 3.0.x
>
>
> If a 2i already exists we currently throw a InvalidQueryException.  This 
> should be a AlreadyExistsException for consistency like trying to create the 
> same CQL Table twice.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to