Davies Liu created SPARK-13661: ---------------------------------- Summary: Avoid the copy of UnsafeRow in HashedRelation Key: SPARK-13661 URL: https://issues.apache.org/jira/browse/SPARK-13661 Project: Spark Issue Type: Improvement Components: SQL Reporter: Davies Liu
We usually build the HashedRelation on top of array of UnsafeRow, the copy could be avoided. The caller of HashedRelation need to do the copy if it's needed. Another approach could be making the copy() of UnsafeRow smart so that it know when should copy the bytes or not, this could be also useful for other components. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org