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 13D7B17DE0 for ; Thu, 9 Apr 2015 14:56:18 +0000 (UTC) Received: (qmail 33394 invoked by uid 500); 9 Apr 2015 14:56:12 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 33357 invoked by uid 500); 9 Apr 2015 14:56:12 -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 33345 invoked by uid 99); 9 Apr 2015 14:56:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Apr 2015 14:56:12 +0000 Date: Thu, 9 Apr 2015 14:56:12 +0000 (UTC) From: "Philip Thompson (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-9148) Issue when modifying UDT 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-9148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Philip Thompson updated CASSANDRA-9148: --------------------------------------- Fix Version/s: (was: 2.1.4) 2.1.5 > Issue when modifying UDT > ------------------------ > > Key: CASSANDRA-9148 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9148 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Oskar Kjellin > Fix For: 2.1.5 > > > I'm trying out the user defined types but ran into some issues when adding a column to an existing type. > Unfortunately I had to scrap the entire cluster so I cannot access it any more. > After creating the UDT i adde two tables using it. 1 was just using frozen. The other was using both frozen frozen map. > Then I realized I needed to add a new field to the user type. Then when I tried to put to any of the two tables (setting all fields to the UDT in the datastax java driver) I got this error message that I could not find anywhere else but in the cassandra code: > com.datastax.driver.core.exceptions.InvalidQueryException: Invalid remaining data after end of UDT value > I had to scrap my keyspace in order to be able to use it again. Could not even drop one of the tables. > I know that they are frozen so we cannot modify the value of individual fields once they are written but we must be able to modify the schema right? -- This message was sent by Atlassian JIRA (v6.3.4#6332)