Closed Pryz closed 1 year ago
Copying context from internal discussions:
In parquet, columns can only be required, optional, or repeated. Slice fields in Go structs are naturally represented as repeated columns, so adding the optional tag needs to be interpreted as each element of the slice might be optional instead of the slice itself; which is what triggers the panic currently.
Using
optional
on a slice causes the following panic:Reproduction: