[
https://issues.apache.org/jira/browse/NIFI-5264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16503227#comment-16503227
]
Pierre Villard commented on NIFI-5264:
--------------------------------------
Attributes are not designed to hold this kind of information because they're
held in memory and limited in size/length.
The only option I can see is to use SplitText and then ValidateCSV to have one
line per flow file and validate the data one line at a time. It'll be certainly
impacting the performances but this way it's possible to have the validation
error message per line using the suggested attribute.
> Add parsing failure message in ValidateCSV
> -------------------------------------------
>
> Key: NIFI-5264
> URL: https://issues.apache.org/jira/browse/NIFI-5264
> Project: Apache NiFi
> Issue Type: Improvement
> Affects Versions: 1.6.0
> Reporter: bsf
> Assignee: Pierre Villard
> Priority: Major
>
> As a developer I would like to see an improvement on the ValidateCSV
> component when using the line by line validation strategy. It will be nice to
> have an option to append into the flowfile on the invalid relationship 1 or 2
> new fields:
> * field_name : the name of the field failed in the schema validation
> * field_description : the description of the validation error
> This will help a lot the user to understand the validation issue on each line.
> If too complex, anything that provides information on the fail validation of
> the line against the schema will be more than welcome :)
> Pentaho DI do something like this by enabling error handling.
> Thanks a lot!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)