Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-5498

CSV text reader does not handle duplicate header names

    XMLWordPrintableJSON

Details

    Description

      Consider the following CSV file:

      h,h,h
      a,b,c
      d,e,f
      

      Parse this with the CSV storage plugins to parse headers. The result:

      2 row(s):
      h
      c
      f
      

      Expected a runtime error for the duplicate column names, or automatic "uniqification" of the names. Certainly did not expect the first two columns to be dropped.

      Attachments

        Issue Links

          Activity

            People

              paul-rogers Paul Rogers
              paul-rogers Paul Rogers
              Sorabh Hamirwasia Sorabh Hamirwasia
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: