hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vaibhav Puranik (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-3902) Add Bytes.toBigDecimal and Bytes.toBytes(BigDecimal)
Date Thu, 19 May 2011 20:34:47 GMT

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

Vaibhav Puranik updated HBASE-3902:
-----------------------------------

    Attachment: big-decimal-methods-patch.txt

Patch attached. Methods copied from 0.20.6 branch

> 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

Mime
View raw message