parquet-go
parquet-go copied to clipboard
GenericWriter doesn't support maps
The current implementation of the GenericWriter doesn't support the usage of maps within a schema.
Example:
type Span struct {
...
Attributes map[string]json.RawMesssage
}
will panic with panic: cannot convert Go values of type map[string]json.RawMessage to parquet value
Do you have a code snippet and full stack trace to share?
Opened https://github.com/segmentio/parquet-go/pull/313 turns out the issue was not what I was thinking about.