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 D4E8D10323 for ; Mon, 28 Oct 2013 12:58:33 +0000 (UTC) Received: (qmail 54294 invoked by uid 500); 28 Oct 2013 12:58:33 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 54206 invoked by uid 500); 28 Oct 2013 12:58:32 -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 54193 invoked by uid 99); 28 Oct 2013 12:58:32 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Oct 2013 12:58:32 +0000 Date: Mon, 28 Oct 2013 12:58:32 +0000 (UTC) From: "Aleksey Yeschenko (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-6253) Refactor: remove CFDefinition 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-6253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aleksey Yeschenko updated CASSANDRA-6253: ----------------------------------------- Reviewer: Aleksey Yeschenko Assignee: Sylvain Lebresne > Refactor: remove CFDefinition > ----------------------------- > > Key: CASSANDRA-6253 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6253 > Project: Cassandra > Issue Type: Improvement > Reporter: Sylvain Lebresne > Assignee: Sylvain Lebresne > Fix For: 2.1 > > Attachments: 0001-Remove-CFDefinition.txt, 0002-Unit-tests-updates.txt > > > While writing CQL3 initially, we added CFDefinition to be a CQL3-friendly version of CFMetaData. However, a number of changes have it redundant. The infos of CFDefinition are now in CFMetaData in pretty much the same form and in particular CFDefinition.Name is now basically a copy of ColumnDefinition. This is not only useless, but it is confusing too: sometimes the CQL3 code uses ColumnDefinition because it has too, but more often it uses CFDefinition.Name and both use diferent vocabulary even though they are the exact same thing. > So this ticket propose to remove CFDefinition and CFDefinition.Name since they are not useful anymore and this clean things up. -- This message was sent by Atlassian JIRA (v6.1#6144)