Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4D3C6200B7A for ; Mon, 22 Aug 2016 06:28:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4BCA7160AC3; Mon, 22 Aug 2016 04:28:18 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A0BD7160AC0 for ; Mon, 22 Aug 2016 06:28:17 +0200 (CEST) Received: (qmail 46293 invoked by uid 500); 22 Aug 2016 04:24:21 -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 43963 invoked by uid 99); 22 Aug 2016 04:16:24 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2016 04:16:24 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 92B932C0154 for ; Mon, 22 Aug 2016 04:16:20 +0000 (UTC) Date: Mon, 22 Aug 2016 04:16:20 +0000 (UTC) From: "Stefania (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-12476) SyntaxException when COPY FROM Counter Table with Null value MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 22 Aug 2016 04:28:18 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-12476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefania updated CASSANDRA-12476: --------------------------------- Fix Version/s: 2.2.x > SyntaxException when COPY FROM Counter Table with Null value > ------------------------------------------------------------ > > Key: CASSANDRA-12476 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12476 > Project: Cassandra > Issue Type: Bug > Components: Tools > Reporter: Ashraful Islam > Assignee: Stefania > Priority: Minor > Labels: cqlsh > Fix For: 2.2.x, 3.0.x, 3.x > > Attachments: Fix_issue___CASSANDRA_12476__SyntaxException_when_COPY_FROM_Counter_Table_with_Null_value.patch > > > I have a simple counter table > {noformat} > CREATE TABLE test ( > a int PRIMARY KEY, > b counter, > c counter > ) ; > {noformat} > I have updated b column value with > {noformat} > UPDATE test SET b = b + 1 WHERE a = 1; > {noformat} > Now I have export the data with > {noformat} > COPY test TO 'test.csv'; > {noformat} > And Import it with > {noformat} > COPY test FROM 'test.csv'; > {noformat} > I get this Error > {noformat} > Failed to import 1 rows: SyntaxException - line 1:34 no viable alternative at input 'WHERE' (...=b+1,c=c+ [WHERE]...) - will retry later, attempt 1 of 5 > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)