Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-97

Support column name selection in ReaderOptions

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.2.1, 1.3.0
    • C++
    • None

    Description

      After orc-92 patch, column id selection is supported. But actually select sub-type by name is more useful.

      In my project, we use period(.) to separate nested field names.

      <s1:struct<s2:struct<int1: int>>>
      we choose int1 by s1.s2.int1 which will be passed include(std::list<std:string>).

      In my implementation: first I build a map for name and column id, and then direct the function call to includeTypes. If this is a candidate solution, I will provide a patch for review soon.

      When a sub-type is selected, all his child types should be selected also, as O'Malley pointed out in orc-92.

      Attachments

        Activity

          People

            chunyang-wen Chunyang Wen
            chunyang-wen Chunyang Wen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: