You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Kyle Kavanagh (Jira)" <ji...@apache.org> on 2021/09/01 17:55:00 UTC

[jira] [Created] (ARROW-13851) Automatically cast dictionary indices during merge

Kyle Kavanagh created ARROW-13851:
-------------------------------------

             Summary: Automatically cast dictionary indices during merge
                 Key: ARROW-13851
                 URL: https://issues.apache.org/jira/browse/ARROW-13851
             Project: Apache Arrow
          Issue Type: New Feature
          Components: C++, Python
    Affects Versions: 5.0.0
            Reporter: Kyle Kavanagh


Following ARROW-11673,

It seems users still need to manually up-cast index types when trying to concatenate tables.  Would be great if this could be handled automatically

 
{code:java}
pyarrow.lib.ArrowInvalid: Unable to merge: Field X has incompatible types: dictionary<values=string, indices=int32, ordered=0> vs dictionary<values=string, indices=int16, ordered=0>
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)