[ 
https://issues.apache.org/jira/browse/NIFI-10573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre Villard resolved NIFI-10573.
-----------------------------------
    Fix Version/s: 1.25.0
                   2.0.0
         Assignee: Pierre Villard
       Resolution: Fixed

Resolved by NIFI-12587 and NIFI-12593.

To get the error for all invalid lines, an option is to have ValidateCSV that 
splits the flow file into a valid flow file and an invalid flow file, and have 
the invalid flow files split with one line per flow file and get the data 
through another ValidateCSV so that each line can have the proper error message 
with the reason why the line is invalid.

> ValidateCsv - improve validation error messages
> -----------------------------------------------
>
>                 Key: NIFI-10573
>                 URL: https://issues.apache.org/jira/browse/NIFI-10573
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: Filip Maretić
>            Assignee: Pierre Villard
>            Priority: Major
>              Labels: CSV, validation
>             Fix For: 1.25.0, 2.0.0
>
>
> ValidateCsv should generate more descriptive error messages because the 
> current ones do not provide what column/field failed the validation. A nice 
> idea would also be to create a companion error file (on a separate 
> relationship) that would contain validation errors for all the failed lines.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to