[parquet_derive] support decoding Option<T>
for ParquetRecordReader
#6879
Labels
enhancement
Any new improvement worthy of a entry in the changelog
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I'm trying to have a single struct with optional fields that can be written and read as parquet. I want to have something like this:
This however does not compile. I get a compiler error that looks like this:
Describe the solution you'd like
It would be really helpful to be able to encode and decode a single struct that has optional fields via
parquet-derive
.Describe alternatives you've considered
An alternative might be a more manual process that reads out the parquet data and constructs the struct. That is a fair bit more manual than I would like.
The text was updated successfully, but these errors were encountered: