Neal Richardson created ARROW-7657:
--------------------------------------
Summary: [R] Add option to preserve dictionary logical type rather
than coerce to factor
Key: ARROW-7657
URL: https://issues.apache.org/jira/browse/ARROW-7657
Project: Apache Arrow
Issue Type: New Feature
Components: R
Reporter: Neal Richardson
Fix For: 1.0.0
See ARROW-7639. R factor "levels" must be strings, but dictionary "values"
aren't restricted like that. Provide an option to govern how dictionary arrays
with non-string "values" are converted to R: keep the dictionary encoding by
making the R vector be type factor and coerce the dictionary values to strings,
or keep the dictionary values the type they are and generate an R vector of
that type, dropping the dictionary encoding.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)