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

Avoid multiple copies of binary data during the conversion from Result to Row

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • spark
    • None
    • Reviewed

    Description

      In the buildRow() of HBaseRelation, CellUtil.cloneValue will already create a copy of the data. If the data type is BinaryType, another copy is being made within Utils.hbaseFieldToScalaType in Utils.scala. Generally, binary data can be fairly large, so copying may be an expensive operation.

      Attachments

        1. HBASE-16818_v0.patch
          0.8 kB
          Weiqing Yang

        Issue Links

          Activity

            People

              WeiqingYang Weiqing Yang
              WeiqingYang Weiqing Yang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: