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 DBFEB17CEF for ; Wed, 5 Nov 2014 21:33:34 +0000 (UTC) Received: (qmail 4228 invoked by uid 500); 5 Nov 2014 21:33:34 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 4199 invoked by uid 500); 5 Nov 2014 21:33: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 4180 invoked by uid 99); 5 Nov 2014 21:33:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2014 21:33:34 +0000 Date: Wed, 5 Nov 2014 21:33:34 +0000 (UTC) From: "Philip Thompson (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-8258) SELECT ... TOKEN() function broken in C* 2.1.1 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-8258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14199135#comment-14199135 ] Philip Thompson commented on CASSANDRA-8258: -------------------------------------------- I will add a cqlshlib test. Holdoff on approving the patch. > SELECT ... TOKEN() function broken in C* 2.1.1 > ---------------------------------------------- > > Key: CASSANDRA-8258 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8258 > Project: Cassandra > Issue Type: Bug > Components: Core > Environment: Ubuntu 14.04 64-bit, Oracle Java 1.7.0_72 > Reporter: Lex Lythius > Assignee: Philip Thompson > Labels: cqlsh > Fix For: 2.1.2 > > Attachments: cassandra-2.1-8258-1.txt > > > {code:title=Cassandra 2.1.1, Oracle Java 1.7.0_72, Ubuntu 14.04.1 64 bit} > cqlsh:blink> show version; > [cqlsh 5.0.1 | Cassandra 2.1.1 | CQL spec 3.2.0 | Native protocol v3] > cqlsh:blink> select token(id) from users limit 1; > list index out of range > {code} > versus > {code:title=Cassandra 2.1.0, Oracle Java 1.7.0_67, Ubuntu 12.04.5 64 bit} > cqlsh:blink> show version; > [cqlsh 5.0.1 | Cassandra 2.1.0 | CQL spec 3.2.0 | Native protocol v3] > cqlsh:blink> select token(id) from users limit 1; > token(id) > ---------------------- > -9223237793432919630 > (1 rows) > {code} > It also fails with C* 2.1.1, Java 1.7.0_72, Ubuntu 12.04.5. -- This message was sent by Atlassian JIRA (v6.3.4#6332)