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 203F217322 for ; Fri, 15 May 2015 12:54:01 +0000 (UTC) Received: (qmail 93386 invoked by uid 500); 15 May 2015 12:54:01 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 93366 invoked by uid 500); 15 May 2015 12:54:01 -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 93354 invoked by uid 99); 15 May 2015 12:54:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 May 2015 12:54:00 +0000 Date: Fri, 15 May 2015 12:54:00 +0000 (UTC) From: "Benjamin Lerer (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-8951) Add smallint (and possibly byte) type 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-8951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14545443#comment-14545443 ] Benjamin Lerer commented on CASSANDRA-8951: ------------------------------------------- I updated the patches: The cassandra patch is here: cassandra patch The python driver patch is here: python patch I renamed Byte to Tinyint and made sure that the 2 types are non-emptiable. The patch of CASSANDRA-9219 has already ensure that the new types should also be sent as CUSTOM to drivers connecting via native protocol 3 and below > Add smallint (and possibly byte) type > ------------------------------------- > > Key: CASSANDRA-8951 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8951 > Project: Cassandra > Issue Type: Sub-task > Reporter: Sylvain Lebresne > Assignee: Benjamin Lerer > Labels: client-impacting, docs-impacting, protocolv4 > Fix For: 2.2 beta 1 > > > We have {{int}} and {{bigint}}, but we don't have a {{smallint}} (2 bytes). I see no reason not to add it. And while we're at it, it doesn't cost much to add a {{byte}} type either. -- This message was sent by Atlassian JIRA (v6.3.4#6332)