ion-elgreco opened a new issue, #7549:
URL: https://github.com/apache/arrow-rs/issues/7549
**Describe the bug**
Can't consume arrow data with empty list[str] over FFI
**To Reproduce**
```python
import polars as pl
from arro3.core import Table
df = pl.DataFrame(
{
"bar": [[]],
}, schema={"bar": pl.List(pl.String)}
)
Table(df)
```
**Expected behavior**
Pyarrow seems to be able to consume this empty list[str] fine,
```python
import polars as pl
import pyarrow as pa
df = pl.DataFrame(
{
"bar": [[]],
}, schema={"bar": pl.List(pl.String)}
)
pa.table(df)
```
**Additional context**
Created also issue in polars repo:
https://github.com/pola-rs/polars/issues/22935, since it's not clear to me
where the issue lies, wether it's polars buffers being misaligned or arrow-rs
incorrectly identifying it because pyarrow seems to be able to consume it fine.
--
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]