[ 
https://issues.apache.org/jira/browse/SPARK-10351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Feynman Liang updated SPARK-10351:
----------------------------------
    Description: 
{{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.

  was:
{{UnsafeRow.getUTF8String}} delegates to {{UTF8String.fromAddress}} which 
returns {{null}} when passed a {{null}} base object, failing to handle off-heap 
memory correctly.

This will also cause a {{NullPointerException}} when {{getString}} is called 
with off-heap storage.


> UnsafeRow.getUTF8String should handle off-heap memory
> -----------------------------------------------------
>
>                 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to