You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benjamin Lerer (JIRA)" <ji...@apache.org> on 2015/05/12 11:21:01 UTC

[jira] [Commented] (CASSANDRA-8951) Add smallint (and possibly byte) type

    [ https://issues.apache.org/jira/browse/CASSANDRA-8951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14539569#comment-14539569 ] 

Benjamin Lerer commented on CASSANDRA-8951:
-------------------------------------------

The cassandra patch is here: [cassandra patch | https://github.com/apache/cassandra/compare/trunk...blerer:8951]
The python driver patch is here: [python patch | https://github.com/datastax/python-driver/compare/master...blerer:CASSANDRA-8951]

I followed the way the existing types were done. I found that implementing them non-emptiable while everything else is emptiable is too confusing in my opinion.

> Add smallint (and possibly byte) type
> -------------------------------------
>
>                 Key: CASSANDRA-8951
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8951
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Sylvain Lebresne
>            Assignee: Benjamin Lerer
>              Labels: client-impacting, docs-impacting, protocolv4
>             Fix For: 3.x
>
>
> 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)