You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2022/02/04 13:13:00 UTC
[jira] [Commented] (ARROW-15564) [C++] Expose MergeOptions in array Concatenate to unify types
[ https://issues.apache.org/jira/browse/ARROW-15564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17487078#comment-17487078 ]
David Li commented on ARROW-15564:
----------------------------------
I think the only tricky thing (same as ConcatenateTables/ARROW-14705) is that we need casts/arrow::compute enabled to support this. ARROW-14705 currently uses an #ifdef but it would be nice to have ARROW-8891 supported.
> [C++] Expose MergeOptions in array Concatenate to unify types
> -------------------------------------------------------------
>
> Key: ARROW-15564
> URL: https://issues.apache.org/jira/browse/ARROW-15564
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Joris Van den Bossche
> Priority: Major
>
> The {{arrow::ConcatenateTables}} function exposes the {{Field::MergeOptions}} as a way to indicate how fields with different types should be merged ("unified" / "common type").
> The version to concatenate arrays ({{arrow::Concatenate}}) currently requires all same-typed arrays. We could add a MergeOptions option here as well?
> (this depends on ARROW-14705 to make this option more useful, currently it only handles null -> any upcasts, I think)
--
This message was sent by Atlassian Jira
(v8.20.1#820001)