[
https://issues.apache.org/jira/browse/SPARK-55483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenchen Fan reassigned SPARK-55483:
-----------------------------------
Assignee: Milan Dankovic
> 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
> Assignee: Milan Dankovic
> Priority: Major
> Labels: pull-request-available
>
> 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]