Omega359 opened a new issue, #19036:
URL: https://github.com/apache/datafusion/issues/19036
### Describe the bug
```sql
> select '03:12:44'::time::bigint;
+------------------+
| Utf8("03:12:44") |
+------------------+
| 11564000000000 |
+------------------+
1 row(s) fetched.
Elapsed 0.024 seconds.
> select arrow_cast('03:12:44'::time, 'Time32(Second)')::int::bigint;
+-----------------------------------------------------+
| arrow_cast(Utf8("03:12:44"),Utf8("Time32(Second)")) |
+-----------------------------------------------------+
| 11564 |
+-----------------------------------------------------+
1 row(s) fetched.
Elapsed 0.004 seconds.
> select arrow_cast('03:12:44'::time, 'Time32(Second)')::bigint;
This feature is not implemented: Unsupported CAST from Time32(Second) to
Int64
```
This cast should work as expected.
### To Reproduce
_No response_
### Expected behavior
_No response_
### Additional context
_No response_
--
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]