You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Harsh Motwani (Jira)" <ji...@apache.org> on 2025/02/28 01:14:00 UTC

[jira] [Created] (SPARK-51349) QueryTest thinks ["null", null] and [null, "null"] are different

Harsh Motwani created SPARK-51349:
-------------------------------------

             Summary: QueryTest thinks ["null", null] and [null, "null"] are different
                 Key: SPARK-51349
                 URL: https://issues.apache.org/jira/browse/SPARK-51349
             Project: Spark
          Issue Type: Bug
          Components: Tests
    Affects Versions: 4.0.0
            Reporter: Harsh Motwani


This test fails:

```
checkAnswer(sql("select case when id == 0 then 'null' else null end s from range(2)"),
Seq(Row(null), Row("null")))
```

However, it should pass because the order is irrelevant.



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