Closed Pryz closed 2 years ago
We discussed offline the option to use a different struct tag name for the key, e.g. key
, mapkey
or parquet-key
, which has advantages over the key=
prefix:
key=
prefixDid you get a chance to give this more thoughts?
Did some experimentation and went with the parquet-key
tag.
Example:
type Spans struct {
Attributes map[string]json.RawMessage `parquet:"attributes,optional,json,zstd" parquet-key:"zstd"`
}
Thanks for the review !
Fixes #256