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

[C++] CSV reader accept schema

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: C++
    • Labels:

      Description

      The CSV reader lets you specify column_types, but this is an unordered_map of column name and type. Why not accept a Schema instead? Isn't that essentially an ordered map? Seems that if you took a Schema, some of the validation of what's being passed in would already have been handled. Plus, I suspect that the Datasets project will want to do even more with passing a Schema (e.g. selecting a subset of columns).

      Thoughts [~pitrou] Francois Saint-Jacques Ben Kietzman?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              npr Neal Richardson
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: