Deserialize list of structs #340
Replies: 1 comment
-
This lib supports all the complex data types, should be no problem. Can you drop an example of the file you are trying to read? Also have you tried to open it with https://aloneguid.github.io/parquet-online/? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have some Parquet files with the following schema (as displayed in Apache Parquet Viewer):
However, the schema I get in
ParquetReader.Schema
for the previous example looks like this:At the end of the day, all of this should deserialize into the format below (or something like this, even with intermediate models if necessary).
I tried to create intermediate models, such as
bag
(what isbag
even?) andarray_element
, tried to specifyJsonPropertyName("...")
, but none of this helped deserializing this list of structs in the Parquet files.Are relatively complex use cases like this even supported? If so, do you have some ideas of how to make the deserialization work?
Beta Was this translation helpful? Give feedback.
All reactions