You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Ben Kietzman (Jira)" <ji...@apache.org> on 2020/03/20 15:16:00 UTC
[jira] [Created] (ARROW-8172) [C++] ArrayFromJSON for dictionary
arrays
Ben Kietzman created ARROW-8172:
-----------------------------------
Summary: [C++] ArrayFromJSON for dictionary arrays
Key: ARROW-8172
URL: https://issues.apache.org/jira/browse/ARROW-8172
Project: Apache Arrow
Issue Type: Improvement
Components: C++
Affects Versions: 0.16.0
Reporter: Ben Kietzman
Fix For: 2.0.0
It would be useful for testing if {{ArrayFromJSON}} could be instructed to dictionary encode its values by passing a dictionary type.
{code}
auto dict_encoded_strings = ArrayFromJSON(dictionary(int8(), utf8()), R"([
"whiskey", "tango", "foxtrot"
])");
{code}
See discussion https://github.com/apache/arrow/pull/6641#pullrequestreview-377768482
--
This message was sent by Atlassian Jira
(v8.3.4#803005)