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

Trailing spaces in CSV column headers cause IndexOutOfBoundsException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0, 1.7.0
    • Fix Version/s: None
    • Component/s: Storage - Text & CSV
    • Labels:
      None
    • Environment:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: