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

Stefan Miklosovic commented on CASSANDRA-19965:
-----------------------------------------------

Great findings [~samt]. I think there is reason why the rule is to have 2 
reviewers :)

I was thinking that INDEXES is a keyword already.

I was also thinking that we can not "choose" what we put for "USING". I was 
thinking "sai" is the only value there. Is this somewhere documented? I just 
look into what is in index options map (I think it is called like that).

Multiple indexes on same column were just overlooked. I've never thought that 
is even possible. 

>  CREATE TABLE LIKE with  INDEX / ALL option
> -------------------------------------------
>
>                 Key: CASSANDRA-19965
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19965
>             Project: Apache Cassandra
>          Issue Type: New Feature
>          Components: Cluster/Schema, CQL/Syntax
>            Reporter: Maxwell Guo
>            Assignee: Maxwell Guo
>            Priority: Normal
>             Fix For: 5.x
>
>
> no matter  Copy table with indexes or triggers  under same keyspace or  
> differenet.
> The indexes and trigger name should be different from the source in case of 
> conflict.
> we need to 
> 1.Adding cql parser for ALL/INDEX/TRIGGER when doing create table like 
> 2.Automatic completion of keywords(LIKE/ALL/INDEX/TRIGGER) and function hints 
> (the source table and target table explain_completion when doing table copy) 
> at the cqlsh level.
>  in pylib/cqlshlib/cql3handling.py and the test in 
> pylib/cqlshlib/test/test_cqlsh_completion.py. 
>  



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