[
https://issues.apache.org/jira/browse/DRILL-4843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Keranen updated DRILL-4843:
--------------------------------
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}}
was:
When a CSV file with a header row has spaces after column names, 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}}
> Trailing spaces in CSV column headers cause IndexOutOfBoundsException
> ---------------------------------------------------------------------
>
> Key: DRILL-4843
> URL: https://issues.apache.org/jira/browse/DRILL-4843
> Project: Apache Drill
> Issue Type: Bug
> Components: Storage - Text & CSV
> Affects Versions: 1.6.0, 1.7.0
> Environment: MapR Community cluster on CentOS 7.2
> Reporter: Matt Keranen
>
> 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}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)