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 70E1417E8E for ; Wed, 2 Sep 2015 17:41:48 +0000 (UTC) Received: (qmail 97921 invoked by uid 500); 2 Sep 2015 17:41:48 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 97891 invoked by uid 500); 2 Sep 2015 17:41:48 -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 97870 invoked by uid 99); 2 Sep 2015 17:41:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2015 17:41:48 +0000 Date: Wed, 2 Sep 2015 17:41:48 +0000 (UTC) From: "T Jake Luciani (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-10161) Composite case-sensitive primary key: first item is not quoted in DESCRIBE TABLE 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-10161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14727708#comment-14727708 ] T Jake Luciani commented on CASSANDRA-10161: -------------------------------------------- Let's wait till the 3.0 driver to have the fix /cc [~aholmber] > Composite case-sensitive primary key: first item is not quoted in DESCRIBE TABLE > -------------------------------------------------------------------------------- > > Key: CASSANDRA-10161 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10161 > Project: Cassandra > Issue Type: Bug > Reporter: Julien Moreau > Assignee: Carl Yeksigian > Priority: Minor > Labels: cqlsh > Fix For: 2.1.x > > > A table is created with case-sensitive composite primary key: > {code} > CREATE TABLE foo ( > "Key1" text, > "Key2" text, > "Value" text > PRIMARY KEY ("Key1", "Key2") > ); > {code} > In the result of {{DESCRIBE TABLE foo;}}: > {code} > CREATE TABLE foo ( > "Key1" text, > "Key2" text, > "Value" text > PRIMARY KEY (Key1, "Key2") > ); > {code} > {{Key1}} is not quoted. > When trying to re-create the table with this description, there is an error: > {code} > InvalidRequest: code=2200 [Invalid query] message="Unknown definition key1 referenced in PRIMARY KEY" > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)