jayzhan211 commented on issue #10132:
URL:
https://github.com/apache/arrow-datafusion/issues/10132#issuecomment-2065943601
For duration, I think this test is enough.
```rust
statement error
CREATE TABLE table as VALUES
(arrow_cast(123456, 'Duration(Second)')),
(arrow_cast(234567, 'Duration(Second)'))
----
DataFusion error: Internal error: Unsupported creation of Duration(Second)
array from ScalarValue Some(DurationSecond("123456")).
This was likely caused by a bug in DataFusion's code and we would welcome
that you file an bug report in our issue tracker
```
https://github.com/apache/arrow-datafusion/blob/19356b26f515149f96f9b6296975a77ac7260149/datafusion/common/src/scalar/mod.rs#L1671-L1689
--
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]