You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Chris Sampson (Jira)" <ji...@apache.org> on 2021/02/17 21:50:00 UTC

[jira] [Commented] (NIFI-8232) CSVReader no longer detects duplicate header values

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

Chris Sampson commented on NIFI-8232:
-------------------------------------

Also added the ability for the Jackson CSV Parser to provide the same (or at least equivalent) capability.

> CSVReader no longer detects duplicate header values
> ---------------------------------------------------
>
>                 Key: NIFI-8232
>                 URL: https://issues.apache.org/jira/browse/NIFI-8232
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.13.0
>            Reporter: Chris Sampson
>            Assignee: Chris Sampson
>            Priority: Major
>   Original Estimate: 0.5h
>          Time Spent: 10m
>  Remaining Estimate: 20m
>
> The update of {{commons-csv}} from [version 1.6 to 1.8|https://github.com/apache/nifi/blob/f9ae3bb9c970cd8d6d1d9e10f07cab9bdb66baa9/nifi-nar-bundles/nifi-standard-services/nifi-record-serialization-services-bundle/nifi-record-serialization-services/pom.xml#L67] in NIFI-7187 has meant that duplicate CSV Fields are no longer detected when inferring the schema from a CSV file's header (either via {{infer}} or {{use header strings}} schema access strategy).
> The ability to dis/enable this detection was added in [commons-csv 1.8|https://archive.apache.org/dist/commons/csv/RELEASE-NOTES.txt] and should be allowed to be toggled in NiFi (effectively this has been implicitly changed from {{false}} to {{true}} by the aforementioned upgrade).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)