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 C3BF019209 for ; Mon, 7 Mar 2016 11:52:41 +0000 (UTC) Received: (qmail 34719 invoked by uid 500); 7 Mar 2016 11:52:41 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 34625 invoked by uid 500); 7 Mar 2016 11:52:41 -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 34404 invoked by uid 99); 7 Mar 2016 11:52:41 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Mar 2016 11:52:41 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DB3572C1F70 for ; Mon, 7 Mar 2016 11:52:40 +0000 (UTC) Date: Mon, 7 Mar 2016 11:52:40 +0000 (UTC) From: =?utf-8?Q?Micha=C5=82_Mat=C5=82oka_=28JIRA=29?= To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-11311) Delete of last row in the partition on table with static column returns row with nulls MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-11311?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Micha=C5=82 Mat=C5=82oka updated CASSANDRA-11311: --------------------------------------- Description:=20 {code} create table static_delete_test ( =09id text, =09clustering text, value int, =09sthstatic text static, =09PRIMARY KEY (id, clustering) ); insert into static_delete_test(id, clustering, value, sthstatic) values ('a= ', 'd', 1, 'statica'); insert into static_delete_test(id, clustering, value, sthstatic) values ('b= ', 'd', 2, 'staticb'); insert into static_delete_test(id, clustering, value, sthstatic) values ('c= ', 'd', 3, 'staticc'); delete from static_delete_test where id =3D 'a' and clustering =3D 'd'; select * from static_delete_test; {code} returns {code} a,null,statica,null c,d,staticc,3 b,d,staticb,2 {code} Problem occurs only when last row in the partition is deleted; was: {code} create table static_delete_test ( =09id text, =09clustering text, value int, =09sthstatic text static, =09PRIMARY KEY (id, clustering) ); insert into static_delete_test(id, clustering, value, sthstatic) values ('a= ', 'd', 1, 'statica'); insert into static_delete_test(id, clustering, value, sthstatic) values ('b= ', 'd', 2, 'staticb'); insert into static_delete_test(id, clustering, value, sthstatic) values ('c= ', 'd', 3, 'staticc'); delete from static_delete_test where id =3D 'a' and clustering =3D 'd'; select * from static_delete_test; {code} returns {code} a,null,statica,null c,d,staticc,3 b,d,staticb,2 {code} Problem occurs only when last row in the partition is deleted; > Delete of last row in the partition on table with static column returns r= ow with nulls > -------------------------------------------------------------------------= ------------- > > Key: CASSANDRA-11311 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1131= 1 > Project: Cassandra > Issue Type: Bug > Environment: Cassandra 3.3 > Reporter: Micha=C5=82 Mat=C5=82oka > > {code} > create table static_delete_test ( > =09id text, > =09clustering text, > value int, > =09sthstatic text static, > =09PRIMARY KEY (id, clustering) > ); > insert into static_delete_test(id, clustering, value, sthstatic) values (= 'a', 'd', 1, 'statica'); > insert into static_delete_test(id, clustering, value, sthstatic) values (= 'b', 'd', 2, 'staticb'); > insert into static_delete_test(id, clustering, value, sthstatic) values (= 'c', 'd', 3, 'staticc'); > delete from static_delete_test where id =3D 'a' and clustering =3D 'd'; > select * from static_delete_test; > {code} > returns > {code} > a,null,statica,null > c,d,staticc,3 > b,d,staticb,2 > {code} > Problem occurs only when last row in the partition is deleted; -- This message was sent by Atlassian JIRA (v6.3.4#6332)