We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4413310 commit 52f5051Copy full SHA for 52f5051
1 file changed
datafusion/sqllogictest/test_files/spark/math/isnan.slt
@@ -83,3 +83,11 @@ SELECT
83
isnan(CAST(NULL AS INT)) AS null_int;
84
----
85
false false false false
86
+
87
+# Untyped NULL literal: relies on DataFusion coercing Null -> Float64 to satisfy
88
+# the Exact(Float32)/Exact(Float64) signature. Without that coercion, planning
89
+# would fail and we'd diverge from Spark, which returns false here.
90
+query B
91
+SELECT isnan(NULL);
92
+----
93
+false
0 commit comments