dqkqd commented on issue #16678: URL: https://github.com/apache/datafusion/issues/16678#issuecomment-3367857880
I cannot reproduce this in branch-50. ``` DataFusion CLI v50.0.0 > SELECT to_timestamp(1.1); +----------------------------+ | to_timestamp(Float64(1.1)) | +----------------------------+ | 1970-01-01T00:00:01.100 | +----------------------------+ 1 row(s) fetched. Elapsed 0.008 seconds. > SELECT to_timestamp(x) FROM (VALUES (1.1), (NULL)) t(x); +-------------------------+ | to_timestamp(t.x) | +-------------------------+ | 1970-01-01T00:00:01.100 | | NULL | +-------------------------+ 2 row(s) fetched. Elapsed 0.006 seconds. ``` I think https://github.com/apache/datafusion/pull/16639 fixed this. I tried 4e32ab9. ``` DataFusion CLI v48.0.0 > SELECT to_timestamp(1.1); +----------------------------+ | to_timestamp(Float64(1.1)) | +----------------------------+ | 1970-01-01T00:00:01.100 | +----------------------------+ 1 row(s) fetched. Elapsed 0.007 seconds. > SELECT to_timestamp(x) FROM (VALUES (1.1), (NULL)) t(x); +-------------------------+ | to_timestamp(t.x) | +-------------------------+ | 1970-01-01T00:00:01.100 | | NULL | +-------------------------+ 2 row(s) fetched. Elapsed 0.006 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
