Emil Ejbyfeldt created SPARK-57806:
--------------------------------------

             Summary: 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


```
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]

Reply via email to