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

ZhaoYang commented on CASSANDRA-12447:
--------------------------------------

Thanks Alex. 

I just wonder: should we make the same query behaves the same way no matter 
whether static column exists?

> Invalid Query : cannot restrict static Column
> ---------------------------------------------
>
>                 Key: CASSANDRA-12447
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12447
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: cassandra 2.1.13
>            Reporter: ZhaoYang
>            Priority: Minor
>
> Invalid Query Error: Cannot restrict clustering columns when selecting only 
> static columns.
> Define a table with PartitionKey, ClusteringKey, 1 static Column, 1 normal 
> column.
> "Select PartitionKey from ks.cf where PartitionKey=? and ClusteringKey=?" 
> will throw the above error..



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

Reply via email to