Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
Description
In ARROW-10580 we fixed the Arrow C++ implementation so that dense union offsets are always (non-strictly) monotonic for a given child, as mandated by the spec.
The IPC writer implementation, however, still assumes that dense union offsets may be in any order:
https://github.com/apache/arrow/blob/5719576c611929dd790f7f8a1ae3169a8f96f7f1/cpp/src/arrow/ipc/writer.cc#L476-L485
This can probably be simplified, making it slightly less costly to emit a sliced union array.
Attachments
Issue Links
- relates to
-
ARROW-10580 [C++] When Validating, ensure DenseUnionArray offsets are increasing
- Resolved