Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0C4FE200B70 for ; Fri, 12 Aug 2016 10:17:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0B096160AB8; Fri, 12 Aug 2016 08:17:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 512F0160AB6 for ; Fri, 12 Aug 2016 10:17:22 +0200 (CEST) Received: (qmail 82482 invoked by uid 500); 12 Aug 2016 08:17:21 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 82373 invoked by uid 99); 12 Aug 2016 08:17:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2016 08:17:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B9EE52C02A8 for ; Fri, 12 Aug 2016 08:17:20 +0000 (UTC) Date: Fri, 12 Aug 2016 08:17:20 +0000 (UTC) From: "ZhaoYang (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CASSANDRA-12447) Invalid Query : cannot restrict static Column MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 12 Aug 2016 08:17:23 -0000 ZhaoYang created CASSANDRA-12447: ------------------------------------ Summary: 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)