[
https://issues.apache.org/jira/browse/CASSANDRA-12447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15676486#comment-15676486
]
Benjamin Lerer commented on CASSANDRA-12447:
--------------------------------------------
I checked {{2.2}} and the query will be accepted there. As {{2.1}} is critical
bug fix only, I think we can close the issue.
> Invalid Query : cannot restrict clustering columns when selecting only static
> columns.
> --------------------------------------------------------------------------------------
>
> Key: CASSANDRA-12447
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12447
> Project: Cassandra
> Issue Type: Bug
> Components: CQL
> Environment: cassandra 2.1.13
> Reporter: ZhaoYang
> Assignee: Benjamin Lerer
> 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)