kumarUjjawal commented on issue #22266:
URL: https://github.com/apache/datafusion/issues/22266#issuecomment-4476801536
duckdb
```
memory D SELECT extract(second FROM TIMESTAMP '2020-01-01
00:00:12.345678');
┌───────────────────────────────────────────────────────────────────────────┐
│ main.date_part('second', CAST('2020-01-01 00:00:12.345678' AS TIMESTAMP)) │
│ int64 │
├───────────────────────────────────────────────────────────────────────────┤
│ 12 │
```
DuckDB's date-part design returns integers across all sub-day fields.
--
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]