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 5E08E17245 for ; Tue, 28 Jul 2015 09:49:05 +0000 (UTC) Received: (qmail 33081 invoked by uid 500); 28 Jul 2015 09:49:05 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 33048 invoked by uid 500); 28 Jul 2015 09:49:05 -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 33032 invoked by uid 99); 28 Jul 2015 09:49:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2015 09:49:05 +0000 Date: Tue, 28 Jul 2015 09:49:05 +0000 (UTC) From: "Stefan Podkowinski (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-9188) cqlsh does not display properly the modified UDTs 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-9188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14644141#comment-14644141 ] Stefan Podkowinski commented on CASSANDRA-9188: ----------------------------------------------- This issues should be fixed by [PYTHON-226|https://datastax-oss.atlassian.net/browse/PYTHON-226]. > cqlsh does not display properly the modified UDTs > ------------------------------------------------- > > Key: CASSANDRA-9188 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9188 > Project: Cassandra > Issue Type: Bug > Reporter: Benjamin Lerer > Assignee: Carl Yeksigian > Priority: Minor > Labels: cqlsh > Fix For: 2.1.x > > > The problem can be reproduced as follow: > {code} > cqlsh:test2> create type myType (a int); > cqlsh:test2> create table myTable (a int primary key, b frozen); > cqlsh:test2> insert into myTable (a, b) values (1, {a: 1}); > cqlsh:test2> select * from myTable; > a | b > ---+-------- > 1 | {a: 1} > (1 rows) > cqlsh:test2> alter type myType add b int; > cqlsh:test2> insert into myTable (a, b) values (2, {a: 2, b :2}); > cqlsh:test2> select * from myTable; > a | b > ---+-------- > 1 | {a: 1} > 2 | {a: 2} > (2 rows) > {code} > If {{cqlsh}} is then restarted it will display the data properly. > {code} > cqlsh:test2> select * from mytable; > a | b > ---+----------------- > 1 | {a: 1, b: null} > 2 | {a: 2, b: 2} > (2 rows) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)