Closed yorsita closed 2 years ago
Hello @yorsita
how write with nested struct ? I tried to write with the following code but failed with "read error: EOF":
I submitted this patch to address the issue: https://github.com/segmentio/parquet-go/pull/378
can segmentio/parquet-go write partial fields to parquet according to a new struct? It was like I have stored a slice of data with struct
You should be able to use struct tags to achieve this:
type Nested struct {
P []People
F string
GF string `parquet:"-"` // omit the field
}
Hi Team, I'm new to this package and sorry to bother. I was trying to write a series of data with nested struct like
and here are two issues I met:
how write with nested struct ? I tried to write with the following code but failed with "read error: EOF":
can segmentio/parquet-go write partial fields to parquet according to a new struct? It was like I have stored a slice of data with struct
and when I write to parquet I just want to store
sorry to bother and wondering if there is a example doc ? Thank you so much