drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-5498) CSV text reader does not properly handle duplicate header names
Date Fri, 19 May 2017 17:15:04 GMT

    [ https://issues.apache.org/jira/browse/DRILL-5498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16017682#comment-16017682
] 

ASF GitHub Bot commented on DRILL-5498:
---------------------------------------

Github user paul-rogers commented on the issue:

    https://github.com/apache/drill/pull/830
  
    Commits squashed.


> CSV text reader does not properly handle duplicate header names
> ---------------------------------------------------------------
>
>                 Key: DRILL-5498
>                 URL: https://issues.apache.org/jira/browse/DRILL-5498
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.8.0
>            Reporter: Paul Rogers
>            Assignee: Paul Rogers
>            Priority: Minor
>              Labels: ready-to-commit
>
> Consider the following CSV file:
> {code}
> h,h,h
> a,b,c
> d,e,f
> {code}
> Parse this with the CSV storage plugins to parse headers. The result:
> {code}
> 2 row(s):
> h
> c
> f
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message