[
https://issues.apache.org/jira/browse/SPARK-55483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenchen Fan resolved SPARK-55483.
---------------------------------
Fix Version/s: 4.2.0
Resolution: Fixed
Issue resolved by pull request 54267
[https://github.com/apache/spark/pull/54267]
> 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
> Fix For: 4.2.0
>
>
> 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]