waitingkuo commented on issue #1992:
URL: 
https://github.com/apache/arrow-datafusion/issues/1992#issuecomment-1263624087

   just found that `date_part` has different return type in pg
   ```
   date_part ( text, timestamp ) → double precision
   
       Get timestamp subfield (equivalent to extract); see [Section 
9.9.1](https://www.postgresql.org/docs/current/functions-datetime.html#FUNCTIONS-DATETIME-EXTRACT)
       date_part('hour', 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-unsubscr...@arrow.apache.org

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

Reply via email to