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

Trailing spaces in CSV column headers cause IndexOutOfBoundsException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.0, 1.7.0
    • None
    • Storage - Text & CSV
    • None
    • MapR Community cluster on CentOS 7.2

    Description

      When a CSV file with a header row has spaces after commas, an IOBE is thrown when trying to reference column names. For example, this will cause the exeption:

      col1, col2, col3

      Where this will not

      col1,col2,col3

      Attachments

        Activity

          People

            paul-rogers Paul Rogers
            mattk Matt Keranen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: