Details
-
Bug
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
3.0.0
-
None
-
None
Description
spark-sql> select ceil(double(1.2345678901234e+200)), ceiling(double(1.2345678901234e+200)), floor(double(1.2345678901234e+200)), power('1', 'NaN'); 9223372036854775807 9223372036854775807 9223372036854775807 NaN
postgres=# select ceil(1.2345678901234e+200::float8), ceiling(1.2345678901234e+200::float8), floor(1.2345678901234e+200::float8), power('1', 'NaN'); ceil | ceiling | floor | power ----------------------+----------------------+----------------------+------- 1.2345678901234e+200 | 1.2345678901234e+200 | 1.2345678901234e+200 | 1 (1 row)
Attachments
Issue Links
- is related to
-
SPARK-10865 [Spark SQL] [UDF] the ceil/ceiling function got wrong return value type
- Resolved
-
SPARK-10866 [Spark SQL] [UDF] the floor function got wrong return value type
- Resolved
- links to