[
https://issues.apache.org/jira/browse/ARROW-17339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antoine Pitrou updated ARROW-17339:
-----------------------------------
Labels: good-first-issue good-second-issue (was: )
> [C++] Simplify IPC writer for dense unions
> ------------------------------------------
>
> Key: ARROW-17339
> URL: https://issues.apache.org/jira/browse/ARROW-17339
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Antoine Pitrou
> Priority: Minor
> Labels: good-first-issue, good-second-issue
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)