[
https://issues.apache.org/jira/browse/SPARK-57806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SPARK-57806:
-----------------------------------
Labels: pull-request-available (was: )
> type coersion sometimes removes calls to raise_error
> ----------------------------------------------------
>
> Key: SPARK-57806
> URL: https://issues.apache.org/jira/browse/SPARK-57806
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 4.3.0
> Reporter: Emil Ejbyfeldt
> Priority: Major
> Labels: pull-request-available
>
> ```
> scala> spark.sql("SELECT raise_error('') = '' AS value FROM VALUES (1) AS
> t0(value)").show()
> +-----+
> |value|
> +-----+
> |NULL|
> ```
> Correct behavior is to fail with `raise_error`.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]