You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jeffrey Zhong (JIRA)" <ji...@apache.org> on 2013/03/18 19:38:15 UTC

[jira] [Updated] (HBASE-8138) Using [packed=true] for repeated field of primitive numeric types (types which use the varint, 32-bit, or 64-bit wire types)

     [ https://issues.apache.org/jira/browse/HBASE-8138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeffrey Zhong updated HBASE-8138:
---------------------------------

    Attachment: hbase-8138.patch

A trivial patch. 

Thanks,
-Jeffrey 
                
> Using [packed=true] for repeated field of primitive numeric types (types which use the varint, 32-bit, or 64-bit wire types)
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-8138
>                 URL: https://issues.apache.org/jira/browse/HBASE-8138
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jeffrey Zhong
>            Assignee: Jeffrey Zhong
>            Priority: Trivial
>             Fix For: 0.98.0
>
>         Attachments: hbase-8138.patch
>
>
> It's recommended to do the following for numeric primitive types
> {quote}
> For historical reasons, repeated fields of basic numeric types aren't encoded as efficiently as they could be. New code should use the special option [packed=true] to get a more efficient encoding
> {quote}
> See details at https://developers.google.com/protocol-buffers/docs/proto

--
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