You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Weiqing Yang (JIRA)" <ji...@apache.org> on 2016/10/12 22:22:20 UTC

[jira] [Created] (HBASE-16818) Avoid multiple copies of binary data during the conversion from Result to Row

Weiqing Yang created HBASE-16818:
------------------------------------

             Summary: Avoid multiple copies of binary data during the conversion from Result to Row
                 Key: HBASE-16818
                 URL: https://issues.apache.org/jira/browse/HBASE-16818
             Project: HBase
          Issue Type: Improvement
          Components: spark
            Reporter: Weiqing Yang
            Assignee: Weiqing Yang


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)