You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2011/05/19 23:03:47 UTC
[jira] [Resolved] (HBASE-3902) Add Bytes.toBigDecimal and
Bytes.toBytes(BigDecimal)
[ https://issues.apache.org/jira/browse/HBASE-3902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack resolved HBASE-3902.
--------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Committed to branch and trunk. Thanks for the patch Vaibhav.
> Add Bytes.toBigDecimal and Bytes.toBytes(BigDecimal)
> -----------------------------------------------------
>
> Key: HBASE-3902
> URL: https://issues.apache.org/jira/browse/HBASE-3902
> Project: HBase
> Issue Type: Improvement
> Components: util
> Affects Versions: 0.90.1, 0.90.2
> Reporter: Vaibhav Puranik
> Fix For: 0.90.4
>
> Attachments: big-decimal-methods-patch.txt
>
>
> Bytes.toBigDecimal and Bytes.toBytes were removed in 0.90.x. Please add it back. We have data encoded using these methods. I don't think BigDecimal class as getBytes/toBytes methods. And even if it had it, if the logic of encoding it into bytes is different, it wouldn't work with the existing data. I am sure that lot of people might face this issue.
> I will submit the patch in a day or two.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira