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 7A8D017F60 for ; Fri, 31 Oct 2014 10:50:34 +0000 (UTC) Received: (qmail 23013 invoked by uid 500); 31 Oct 2014 10:50:34 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 22972 invoked by uid 500); 31 Oct 2014 10:50:34 -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 22960 invoked by uid 99); 31 Oct 2014 10:50:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Oct 2014 10:50:34 +0000 Date: Fri, 31 Oct 2014 10:50:34 +0000 (UTC) From: "Sylvain Lebresne (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-8226) Cannot call a column 'timestamp' 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-8226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sylvain Lebresne updated CASSANDRA-8226: ---------------------------------------- Assignee: Mikhail Stepura > Cannot call a column 'timestamp' > -------------------------------- > > Key: CASSANDRA-8226 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8226 > Project: Cassandra > Issue Type: Bug > Components: Core > Environment: [cqlsh 5.0.1 | Cassandra 2.1.1 | CQL spec 3.2.0 | Native protocol v3] > Reporter: Dave Cunningham > Assignee: Mikhail Stepura > Priority: Minor > Labels: cqlsh > Fix For: 2.1.2 > > > create table test(date text, timestamp timeuuid, stuff text, PRIMARY KEY(date, timestamp)); > insert into test(date, timestamp, stuff) values ('20141030', now(), 'test'); > insert into test(date, timestamp, stuff) values ('20141030', now(), 'test'); > insert into test(date, timestamp, stuff) values ('20141030', now(), 'test'); > select * from test where date = '20141030' order by timestamp limit 1; > Traceback (most recent call last): > File "bin/cqlsh", line 861, in onecmd > self.handle_statement(st, statementtext) > File "bin/cqlsh", line 901, in handle_statement > return self.handle_parse_error(cmdword, tokens, parsed, srcstr) > File "bin/cqlsh", line 910, in handle_parse_error > return self.perform_statement(cqlruleset.cql_extract_orig(tokens, srcstr)) > File "bin/cqlsh", line 935, in perform_statement > result = self.perform_simple_statement(stmt) > File "bin/cqlsh", line 968, in perform_simple_statement > self.print_result(rows, self.parse_for_table_meta(statement.query_string)) > File "bin/cqlsh", line 946, in parse_for_table_meta > parsed = cqlruleset.cql_parse(query_string)[1] > IndexError: list index out of range -- This message was sent by Atlassian JIRA (v6.3.4#6332)