Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7AEC618AFF for ; Mon, 7 Dec 2015 15:03:11 +0000 (UTC) Received: (qmail 1384 invoked by uid 500); 7 Dec 2015 15:03:11 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 1343 invoked by uid 500); 7 Dec 2015 15:03:11 -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 1327 invoked by uid 99); 7 Dec 2015 15:03:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Dec 2015 15:03:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 01DB72C1F5D for ; Mon, 7 Dec 2015 15:03:11 +0000 (UTC) Date: Mon, 7 Dec 2015 15:03:11 +0000 (UTC) From: "Benjamin Lerer (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-9527) Cannot create secondary index on a table WITH COMPACT STORAGE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-9527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Lerer updated CASSANDRA-9527: -------------------------------------- Component/s: CQL > Cannot create secondary index on a table WITH COMPACT STORAGE > ------------------------------------------------------------- > > Key: CASSANDRA-9527 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9527 > Project: Cassandra > Issue Type: Bug > Components: CQL > Environment: cassandra v2.0.13 > Reporter: fuggy_yama > Assignee: Benjamin Lerer > Priority: Minor > Fix For: 2.0.17, 2.1.8, 2.2.0 rc2 > > Attachments: 9527-2.0-V2.txt, 9527-2.1-V2.txt, 9527.txt > > > In CASSANDRA-8156 it is said that secondary indexes are not allowed on clustering columns in COMPACT tables. > However, I found that it is not possible to create a secondary index on the value column in a COMPACT table: > CREATE TABLE t ( > a INT, > b INT, > c INT, > PRIMARY KEY (a, b) > ) WITH COMPACT STORAGE; > CREATE INDEX ON t (c); > *Bad Request: Secondary indexes are not supported on PRIMARY KEY columns in COMPACT STORAGE tables* -- This message was sent by Atlassian JIRA (v6.3.4#6332)