Closed stoewer closed 1 year ago
Apologies to make more work for you, but we've decided to move development on this project to a new organization at https://github.com/parquet-go/parquet-go to ensure its long term success. We appreciate your contribution and would appreciate if you could reopen this ticket there if it is still relevant.
Thanks for letting me know @kevinburkesegment I copied the issue to parquet-go/parquet-go#8
Given a parquet file with a schema generated from the following model:
The
GenericWriter
should be able to write data from an an alternative model, whereNested
is represented as map, as long as the map keys match column names from the original schema:In its current implementation
GenericWriter
panics for the above code. Here is a gist that reproduces the errorThis feature is useful when writing data to a schema where parts of the schema (i.e. the struct
Inner
) are defined dynamically at runtime.