mhilton commented on code in PR #7844:
URL: https://github.com/apache/arrow-datafusion/pull/7844#discussion_r1363741843


##########
docs/source/user-guide/sql/scalar_functions.md:
##########
@@ -1390,10 +1391,10 @@ extract(field FROM source)
 
 ### `to_timestamp`
 
-Converts a value to RFC3339 nanosecond timestamp format 
(`YYYY-MM-DDT00:00:00.000000000Z`).
+Converts a value to RFC3339 second timestamp format (`YYYY-MM-DDT00:00:00Z`).
 Supports timestamp, integer, and unsigned integer types as input.
 Integers and unsigned integers are parsed as Unix nanosecond timestamps and

Review Comment:
   Is this documentation still accurate? Integers are now parsed as "unix 
second timestamps"?. Unless they aren't in which case a little bit more 
expanation of the behaviour for integers would be helpful.



-- 
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]

Reply via email to