[ https://issues.apache.org/jira/browse/ARROW-5992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francois Saint-Jacques resolved ARROW-5992. ------------------------------------------- Resolution: Fixed Issue resolved by pull request 5125 [https://github.com/apache/arrow/pull/5125] > [C++] Array::View fails for string/utf8 as binary > ------------------------------------------------- > > Key: ARROW-5992 > URL: https://issues.apache.org/jira/browse/ARROW-5992 > Project: Apache Arrow > Issue Type: Bug > Components: C++ > Reporter: Wes McKinney > Assignee: Wes McKinney > Priority: Major > Labels: pull-request-available > Fix For: 0.15.0 > > Time Spent: 20m > Remaining Estimate: 0h > > I encountered this > {code} > -- Arrow Fatal Error -- > Invalid: Can't view array of type string as binary: not enough buffers for > view type > In ../src/arrow/array.cc, line 1049, code: CheckInputAvailable() > In ../src/arrow/array.cc, line 1100, code: impl.MakeDataView(out_field, > &out_data) > {code} > when trying to add a {{BinaryWithRepeats}} function to > {{RandomArrayGenerator}} > {code} > std::shared_ptr<Array> out; > auto strings = StringWithRepeats(size, unique, min_length, max_length, > null_probability); > ABORT_NOT_OK(strings->View(binary(), &out)); > return out; > {code} > It looks like utf8 <-> binary view simply aren't tested in array-view-test -- This message was sent by Atlassian Jira (v8.3.2#803003)