[
https://issues.apache.org/jira/browse/HBASE-7692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13591932#comment-13591932
]
James Taylor commented on HBASE-7692:
-------------------------------------
Ran some micro perf benchmarks of BigDecimal serialization/deserialization for
Phoenix versus Orderly. Both have the same property that their binary
representation sort according to their natural order. The test measures the
serialization and deserialization time for values from -1M to 1M. Phoenix was
3.8x faster while using 3.5% more memory than Orderly.
Probably wouldn't be too difficult to replace the Orderly serialization logic
with the Phoenix one for this type.
> Add utility class to generate ordered byte[] serialization
> ----------------------------------------------------------
>
> Key: HBASE-7692
> URL: https://issues.apache.org/jira/browse/HBASE-7692
> Project: HBase
> Issue Type: Improvement
> Components: util
> Reporter: Nick Dimiduk
> Assignee: Nick Dimiduk
> Fix For: 0.95.0
>
> Attachments: HBASE-7692.v1.patch, HBASE-7692.v2.patch,
> HBASE-7692.v3.patch, HBASE-7692.v4.patch, HBASE-7692.v5.patch
>
>
> The current Bytes utility class works, but produces output that does not
> maintain the native sort ordering of the input value. This results in, for
> example, a negative value that does not necessarily sort before a positive
> value. HBase should provide a canonical implementation of such a
> serialization format so that third-parties can reliably build on top of
> HBase. This will allow an implementation for HIVE-3634, HIVE-2599, or
> HIVE-2903 that is compatible with similar features in Pig.
--
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