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 2D28611BF2 for ; Fri, 11 Jul 2014 17:36:08 +0000 (UTC) Received: (qmail 12148 invoked by uid 500); 11 Jul 2014 17:36:06 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 12061 invoked by uid 500); 11 Jul 2014 17:36:06 -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 11843 invoked by uid 99); 11 Jul 2014 17:36:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jul 2014 17:36:06 +0000 Date: Fri, 11 Jul 2014 17:36:06 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-7509) conditional updates don't work from cqlsh 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-7509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14059056#comment-14059056 ] Jonathan Ellis commented on CASSANDRA-7509: ------------------------------------------- Besides switching the driver, how much work is this? Should I ask Brandon or Tyler to help? Would like to fix for 2.1.0-final. > conditional updates don't work from cqlsh > ----------------------------------------- > > Key: CASSANDRA-7509 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7509 > Project: Cassandra > Issue Type: Bug > Components: Tools > Reporter: Jeremiah Jordan > Assignee: Mikhail Stepura > Priority: Blocker > Fix For: 2.1.0 > > > {noformat} > apache-cassandra-2.1.0-rc2/bin $ ./cqlsh > Connected to Test Cluster at 127.0.0.1:9042. > [cqlsh 5.0.1 | Cassandra 2.1.0-rc2 | CQL spec 3.1.7 | Native protocol v3] > Use HELP for help. > cqlsh> use ks1; > cqlsh:ks1> create table users( > ... userID uuid, > ... fname text, > ... lname text, > ... email text, > ... address text, > ... zip int, > ... state text, > ... PRIMARY KEY ((userID, fname), state) > ... ); > cqlsh:ks1> insert into users (userID, fname, state, email) VALUES (cfd66ccc-d857-4e90-b1e5-df98a3d40cd6, 'laura', 'ca', 'lauras@gmail.com') if not exists; > code=2200 [Invalid query] message="Conditional updates are not supported by the protocol version in use. You need to upgrade to a driver using the native protocol v2." > cqlsh:ks1> > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)