I am aware that support for nested data/dictionaries was added in #2264.
I have a model in which a column is an array of structs, and currently this seems to be unsupported.
Are there plans to support it? Happy to contribute a patch, but would need some guidance.
Here's a failing test case to demonstrate the scenario:
λ pytest tests/core/test_test.py::test_array_of_nested_data
[...]
E duckdb.duckdb.ConversionException: Conversion Error: Type VARCHAR with value 'hello' can't be cast to the destination type MAP
If you remove the ARRAY<> annotation, and the [] from the test data, then the test passes -- which is what the previous patch (#2264) is supposed to cover, I believe.
Hi!
I am aware that support for nested data/dictionaries was added in #2264.
I have a model in which a column is an array of structs, and currently this seems to be unsupported. Are there plans to support it? Happy to contribute a patch, but would need some guidance.
Here's a failing test case to demonstrate the scenario:
If you remove the
ARRAY<>
annotation, and the[]
from the test data, then the test passes -- which is what the previous patch (#2264) is supposed to cover, I believe.