You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/08/30 01:59:45 UTC
[jira] [Commented] (SPARK-10351) UnsafeRow.getString should handle
off-heap backed UnsafeRow
[ https://issues.apache.org/jira/browse/SPARK-10351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721302#comment-14721302 ]
Apache Spark commented on SPARK-10351:
--------------------------------------
User 'feynmanliang' has created a pull request for this issue:
https://github.com/apache/spark/pull/8523
> UnsafeRow.getString should handle off-heap backed UnsafeRow
> -----------------------------------------------------------
>
> Key: SPARK-10351
> URL: https://issues.apache.org/jira/browse/SPARK-10351
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Feynman Liang
> Priority: Critical
>
> {{UnsafeRow.getUTF8String}} delegates to {{UTF8String.fromAddress}} which returns {{null}} when passed a {{null}} base object, failing to handle off-heap backed {{UnsafeRow}}s correctly.
> This will also cause a {{NullPointerException}} when {{getString}} is called with off-heap storage.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org