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

[C++] ArrayFromJSON for dictionary arrays

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 0.16.0
    • 2.0.0
    • C++
    • None

    Description

      It would be useful for testing if ArrayFromJSON could be instructed to dictionary encode its values by passing a dictionary type.

      auto dict_encoded_strings = ArrayFromJSON(dictionary(int8(), utf8()), R"([
        "whiskey", "tango", "foxtrot"
      ])");
      

      See discussion https://github.com/apache/arrow/pull/6641#pullrequestreview-377768482

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bkietz Ben Kietzman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: