Omega359 commented on issue #19038:
URL: https://github.com/apache/datafusion/issues/19038#issuecomment-3676974104
Note that I expect if the TimeUnit's are the same it does work:
```sql
> select '2024-02-23'::date::timestamp +
arrow_cast(arrow_cast('03:12:44'::time, 'Time32(Second)')::int,
'Duration(Nanosecond)');
+-------------------------------------------------------------------------------------------------------------------+
| Utf8("2024-02-23") +
arrow_cast(arrow_cast(Utf8("03:12:44"),Utf8("Time32(Second)")),Utf8("Duration(Nanosecond)"))
|
+-------------------------------------------------------------------------------------------------------------------+
| 2024-02-23T00:00:00.000011564
|
+-------------------------------------------------------------------------------------------------------------------+
1 row(s) fetched.
Elapsed 0.007 seconds.
```
--
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]