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 53BAB17304 for ; Thu, 16 Apr 2015 12:02:04 +0000 (UTC) Received: (qmail 88588 invoked by uid 500); 16 Apr 2015 12:01:59 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 88547 invoked by uid 500); 16 Apr 2015 12:01:59 -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 88535 invoked by uid 99); 16 Apr 2015 12:01:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Apr 2015 12:01:59 +0000 Date: Thu, 16 Apr 2015 12:01:59 +0000 (UTC) From: "Benjamin Lerer (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (CASSANDRA-9192) Tuple columns with UDTs not updated when the UDT is altered 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-9192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Lerer reopened CASSANDRA-9192: --------------------------------------- The problem was not fixed has part of CASSANDRA-9148. > Tuple columns with UDTs not updated when the UDT is altered > ----------------------------------------------------------- > > Key: CASSANDRA-9192 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9192 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Tyler Hobbs > Assignee: Tyler Hobbs > Priority: Minor > Fix For: 2.1.5 > > > When a tuple column contains a UDT and the UDT is altered, we do not update the tuple column: > {noformat} > cqlsh> create keyspace ks1 WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '1' }; > cqlsh> create type ks1.foo (a int, b int); > cqlsh> create table ks1.mytable (a int primary key, b frozen>); > cqlsh> insert into ks1.mytable (a, b) VALUES (1, (1, {a: 1, b: 1})); > cqlsh> alter type ks1.foo ADD c int; > cqlsh> insert into ks1.mytable (a, b) VALUES (1, (1, {a: 1, b: 1})); > cqlsh> insert into ks1.mytable (a, b) VALUES (1, (1, {a: 1, b: 1, c: 1})); > InvalidRequest: code=2200 [Invalid query] message="Unknown field 'c' in value of user defined type foo" > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)