Open hangxie opened 4 hours ago
https://github.com/hangxie/parquet-tools/issues/206 was the original issue that decided not to support nested type, link here as a reference.
Current idea is that we create separated type definition for any map or object, the name can be anything (like Struct123
) then use those types in parent type, there should be an option to consolidate structs with same definition to be single one, and by default it should be on (ie no duplicated struct definitions).
Need DFS for this ...
A couple of more considerations:
Right now it does not:
However, this is not true as this can be resolved by defining another struct, eg https://github.com/xitongsys/parquet-go/blob/master/example/local_nested.go#L12-L24