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 D7AF31053E for ; Wed, 1 May 2013 12:48:18 +0000 (UTC) Received: (qmail 89764 invoked by uid 500); 1 May 2013 12:48:18 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 89489 invoked by uid 500); 1 May 2013 12:48:18 -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 88730 invoked by uid 99); 1 May 2013 12:48:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 May 2013 12:48:16 +0000 Date: Wed, 1 May 2013 12:48:16 +0000 (UTC) From: "Aleksey Yeschenko (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-5489) Fix 2.0 key and column aliases serialization and cqlsh DESC SCHEMA 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-5489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13646541#comment-13646541 ] Aleksey Yeschenko commented on CASSANDRA-5489: ---------------------------------------------- Yep. > Fix 2.0 key and column aliases serialization and cqlsh DESC SCHEMA > ------------------------------------------------------------------ > > Key: CASSANDRA-5489 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5489 > Project: Cassandra > Issue Type: Bug > Components: Core, Tools > Affects Versions: 2.0 > Reporter: Aleksey Yeschenko > Assignee: Sylvain Lebresne > Priority: Minor > Fix For: 2.0 > > Attachments: 5489-1.2.txt, 5489.txt > > > CASSANDRA-5125 made a slight change to how key_aliases and column_aliases are serialized in schema. Prior to that we never kept nulls in the the json pseudo-lists. This does break cqlsh and probably breaks 1.2 nodes receiving such migrations as well. The patch reverts this behavior and also slightly modifies cqlsh itself to ignore non-regular columns from system.schema_columns table. > This patch breaks nothing, since 2.0 already handles 1.2 non-null padded alias lists. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira