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

Milan Dankovic commented on SPARK-55483:
----------------------------------------

I am working on this.

> Fix NullPointerException from PhysicalArrayType
> -----------------------------------------------
>
>                 Key: SPARK-55483
>                 URL: https://issues.apache.org/jira/browse/SPARK-55483
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Spark Core
>    Affects Versions: 4.2.0
>            Reporter: Milan Dankovic
>            Priority: Major
>
> When a {{PIVOT}} query uses a non-atomic pivot column (struct, array), 
> {{PivotFirst}} stores pivot values in a {{TreeMap}} with a comparison-based 
> ordering. If the pivot column contains null values (e.g., from a GROUP BY 
> null group), the {{TreeMap.getOrElse}} lookup calls {{{}compare(null, 
> existingKey){}}}, which throws a {{{}NullPointerException{}}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to