[ 
https://issues.apache.org/jira/browse/ARROW-7077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antoine Pitrou updated ARROW-7077:
----------------------------------
    Description: 
{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}


> [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
>            Priority: Major
>
> {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)

Reply via email to