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)