You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2020/01/22 19:36:00 UTC
[jira] [Created] (ARROW-7657) [R] Add option to preserve dictionary
logical type rather than coerce to factor
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)