Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
3.0.0
-
None
-
None
Description
Query | Spark SQL | PostgreSQL |
---|---|---|
SELECT float('nan'); | NULL | NaN |
SELECT float(' NAN '); | NULL | NaN |
SELECT float('infinity'); | NULL | Infinity |
SELECT float(' -INFINiTY '); | NULL | -Infinity |
Query | Spark SQL | PostgreSQL |
---|---|---|
SELECT double('nan'); | NULL | NaN |
SELECT double(' NAN '); | NULL | NaN |
SELECT double('infinity'); | NULL | Infinity |
SELECT double(' -INFINiTY '); | NULL | -Infinity |
Attachments
Issue Links
- duplicates
-
SPARK-27768 Infinity, -Infinity, NaN should be recognized in a case insensitive manner
- Resolved