Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-7657

[R] Add option to preserve dictionary logical type rather than coerce to factor

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • R
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            npr Neal Richardson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: