[
https://issues.apache.org/jira/browse/ARROW-7077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ARROW-7077:
----------------------------------
Labels: pull-request-available (was: )
> [C++] Unsupported Dict->T cast crashes instead of returning error
> -----------------------------------------------------------------
>
> Key: ARROW-7077
> URL: https://issues.apache.org/jira/browse/ARROW-7077
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++, C++ - Compute
> Affects Versions: 0.15.1
> Reporter: Antoine Pitrou
> Assignee: Antoine Pitrou
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.0.0
>
>
> {code:python}
> >>> arr = pa.array(["foo", "bar"])
> >>>
> >>>
> >>> arr.dictionary_encode().cast('binary')
> >>>
> >>>
> F1106 16:53:22.411165 28503 cast.cc:919] Check failed:
> values_type.Equals(*output->type) Dictionary type: string target type: binary
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)