liukun4515 commented on issue #1992: URL: https://github.com/apache/arrow-datafusion/issues/1992#issuecomment-1066722076
because i hit this document from PG https://www.postgresql.org/docs/14/functions-datetime.html and it points out that "The extract function returns values of type `numeric`. The following are valid field names" other point from the definition ``` extract ( field from timestamp ) → numeric Get timestamp subfield; see [Section 9.9.1](https://www.postgresql.org/docs/14/functions-datetime.html#FUNCTIONS-DATETIME-EXTRACT) extract(hour from timestamp '2001-02-16 20:38:40') → 20 ``` -- 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]
