You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/03/14 12:22:10 UTC

[GitHub] [arrow-datafusion] liukun4515 commented on issue #1992: The return type of EXTRACT

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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org