Reading nested struct fields results in an error #213
Labels
bug
Something isn't working
feature
New feature or request
good first issue
Good for newcomers
priority-high
High priority issue
user-request
This issue was directly requested by a user
What happens?
File I'm reading is parquet with a nested struct field. DuckDB reads it fine, but pg_analytics struggles, throwing errors.
Setting up the connection:
and querying the table:
select * from parquet_table;
ends in following error:
parquet_describe() function describes the file correctly (same as duckdb and pyarrow):
select * from parquet_describe('parquet_table');
Dataset reads fine if I exclude such fields:
select "ok_field" from parquet_table;
or unnest:
Same thing happens if I try to reproduce it with a json file.
To Reproduce
Try reading following file from object storage:
"test_data" field is actually a standard field from Airbyte export (column "_airbyte_meta").
OS:
Ubuntu 22.04, x86-64
ParadeDB Version:
v0.15.2 on PostgreSQL 17 (image: paradedb/paradedb:latest)
Are you using ParadeDB Docker, Helm, or the extension(s) standalone?
ParadeDB Docker Image
Full Name:
Dominik Pierzga
Affiliation:
None
Did you include all relevant data sets for reproducing the issue?
Yes
Did you include the code required to reproduce the issue?
Did you include all relevant configurations (e.g., CPU architecture, PostgreSQL version, Linux distribution) to reproduce the issue?
The text was updated successfully, but these errors were encountered: