You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Achuth Narayan Rajagopal (JIRA)" <ji...@apache.org> on 2018/08/07 01:30:00 UTC

[jira] [Commented] (SPARK-25028) AnalyzePartitionCommand failed with NPE if value is null

    [ https://issues.apache.org/jira/browse/SPARK-25028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16571005#comment-16571005 ] 

Achuth Narayan Rajagopal commented on SPARK-25028:
--------------------------------------------------

[~igreenfi], Can you share a test case to reproduce this? 

> AnalyzePartitionCommand failed with NPE if value is null
> --------------------------------------------------------
>
>                 Key: SPARK-25028
>                 URL: https://issues.apache.org/jira/browse/SPARK-25028
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.4.0
>            Reporter: Izek Greenfield
>            Priority: Major
>
> on line 143: val partitionColumnValues = partitionColumns.indices.map(r.get(_).toString)
> if the value is NULL the code will fail with NPE



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org