You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/05/31 21:45:00 UTC
[jira] [Updated] (SPARK-57186) Handle NullType in ExtractValue to return NULL instead of throwing
[ https://issues.apache.org/jira/browse/SPARK-57186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated SPARK-57186:
-----------------------------------
Labels: pull-request-available (was: )
> Handle NullType in ExtractValue to return NULL instead of throwing
> ------------------------------------------------------------------
>
> Key: SPARK-57186
> URL: https://issues.apache.org/jira/browse/SPARK-57186
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 4.2.0
> Reporter: Dejan Krakovic
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.2.0
>
>
> Add a {{case (NullType, _)}} handler in {{ExtractValue.extractValue()}} that returns {{Literal(null, NullType)}} instead of falling through to the {{INVALID_EXTRACT_BASE_FIELD_TYPE}} error.
> This aligns with standard SQL semantics where any operation on NULL yields NULL.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org