mapleFU commented on issue #46555: URL: https://github.com/apache/arrow/issues/46555#issuecomment-2908741862
Another interesting( but maybe useless ) finding is that, the variant allowing out-of order offset for array/object field in value, like: 1. Field 1 can after field 2? 2. If field 1 is totally equal to field 2, seems they can share the same variant sub-object? It's a bit tricky for writers to implement these features, for array or object, if multiple field can have duplicate value, they may have a `addRepeatsXXX(T item, uint32_t repeats_num)` interface. But maybe it can be regard as a future optimization. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org