r3stl355 commented on issue #9158:
URL:
https://github.com/apache/arrow-datafusion/issues/9158#issuecomment-1934856878
I wonder if that's meant to work. The following works:
```
select arrow_cast([null], 'FixedSizeList(1, Null)');
```
However, if you wanted a zero-sized list then should it be be
```
select arrow_cast([], 'FixedSizeList(0, Null)');
```
However that throws the following error
```
thread 'main' panicked at
arrow-datafusion/datafusion/common/src/scalar.rs:3184:5:
assertion `left == right` failed
left: 0
right: 1
```
--
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]