Description
TIMESTAMP_SECONDS and CAST(<float> AS TIMESTAMP) have different results:
spark-sql> SELECT CAST(16777215.0f AS TIMESTAMP); 1970-07-14 07:20:15 spark-sql> SELECT TIMESTAMP_SECONDS(16777215.0f); 1970-07-14 07:20:14.951424
Attachments
Issue Links
- relates to
-
SPARK-34727 Difference in results of casting float to timestamp
- Resolved
- links to