[
https://issues.apache.org/jira/browse/ARROW-7077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wes McKinney resolved ARROW-7077.
---------------------------------
Resolution: Fixed
Issue resolved by pull request 5963
[https://github.com/apache/arrow/pull/5963]
> [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
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> {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)