Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-3902

Add Bytes.toBigDecimal and Bytes.toBytes(BigDecimal)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.90.1, 0.90.2
    • 0.90.4
    • util
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. big-decimal-methods-patch.txt
          3 kB
          Vaibhav Puranik

        Activity

          People

            Unassigned Unassigned
            pvaibhav Vaibhav Puranik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: