[
https://issues.apache.org/jira/browse/SPARK-55747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenchen Fan reassigned SPARK-55747:
-----------------------------------
Assignee: Stevo Mitric
> NPE exception on null array when indexing in Codegen
> -----------------------------------------------------
>
> Key: SPARK-55747
> URL: https://issues.apache.org/jira/browse/SPARK-55747
> Project: Spark
> Issue Type: Task
> Components: Spark Core
> Affects Versions: 4.1.1
> Reporter: Stevo Mitric
> Assignee: Stevo Mitric
> Priority: Major
> Labels: pull-request-available
>
> GetArrayItem.nullable was incorrectly computed as false when the array type
> has containsNull=false (e.g., from StringSplit) but the array itself can be
> null.
> This caused codegen to skip null checks, leading to NPE when calling
> array.numElements() on a null array during bounds checking.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]