Omega359 commented on issue #14817:
URL: https://github.com/apache/datafusion/issues/14817#issuecomment-2675449565

   It seems that duckdb is also following the interval rules like pg for 
date_part - https://duckdb.org/docs/sql/data_types/interval.html
   
   ```sql
   D SELECT datepart('seconds', interval '3605 seconds');
   ┌───────────────────────────────────────────────────────┐
   │ datepart('seconds', CAST('3605 seconds' AS INTERVAL)) │
   │                         int64                         │
   ├───────────────────────────────────────────────────────┤
   │                           5                           │
   └───────────────────────────────────────────────────────┘
   ```


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

Reply via email to