You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2019/07/19 21:56:00 UTC
[jira] [Created] (ARROW-5992) [C++] Array::View fails for
string/utf8 as binary
Wes McKinney created ARROW-5992:
-----------------------------------
Summary: [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
Fix For: 1.0.0
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
(v7.6.14#76016)