Re: [C++] Type_codes and child_ids for Unions & test time concerns

2020-11-08 Thread Micah Kornfield
> > First of all I would like to ask why we use both type_codes and child_ids > for Union types. It seems that we can already cover the logical types a > union has using type_codes alone. What’s the point of using child_ids? The two are inverses of each other: https://github.com/apache/arrow/blob

[C++] Type_codes and child_ids for Unions & test time concerns

2020-11-08 Thread Ying Zhou
The work of converting Arrow Arrays, ChunkedArrays, RecordBatches and Tables to ORC files is about 50% done. Now I have two questions. First of all I would like to ask why we use both type_codes and child_ids for Union types. It seems that we can already cover the logical types a union has usin