alamb commented on code in PR #9022:
URL: https://github.com/apache/arrow-datafusion/pull/9022#discussion_r1468521437
##########
datafusion/sqllogictest/test_files/scalar.slt:
##########
@@ -1383,7 +1383,8 @@ create table test_boolean(c1 boolean) as values (false),
(null), (true);
statement ok
create table test_int32(c1 int) as values (0), (1), (null), (3);
-## Note that test_float has a NaN (which is not possible to create in SQL) so
it is registered via rust.
+statement ok
+create table test_float(c1 double) as values (1.0), (null), ('NaN'::double);
Review Comment:
I double checked
```
❯ select arrow_typeof('NaN'::double), 'NaN'::double;
+---------------------------+-------------+
| arrow_typeof(Utf8("NaN")) | Utf8("NaN") |
+---------------------------+-------------+
| Float64 | NaN |
+---------------------------+-------------+
1 row in set. Query took 0.004 seconds.
```
👍
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]