In the Parquet variant spec, metadata part says that

> Object: An unordered collection of string/Variant pairs (i.e. key/value
pairs). An object may not contain duplicate keys. [1]

Considering a nested json object like {"a": {"a": 1}}, would the metadata
like field 0: "a", field 1: "a" or just field 0: "a" , or both of them is
ok for reader/writer?

And besides, would duplicate keys be allowed in the same object? Like {"a":
1, "a": 2}?

Best, Xuwei Fu

[1] https://github.com/apache/parquet-format/blob/master/VariantEncoding.md

Reply via email to