[
https://issues.apache.org/jira/browse/NIFI-14942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18018447#comment-18018447
]
ASF subversion and git services commented on NIFI-14942:
--------------------------------------------------------
Commit 81748543475f9c080be81e52ea4df3d9186faa4f in nifi's branch
refs/heads/main from Filip Maretic
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=8174854347 ]
NIFI-14942 [ValidateCSV] Add 'Max Lines Per Row' property.
Signed-off-by: Pierre Villard <[email protected]>
This closes #10279.
> [ValidateCSV] Non -terminated quote char can cause OOM
> ------------------------------------------------------
>
> Key: NIFI-14942
> URL: https://issues.apache.org/jira/browse/NIFI-14942
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: 2.5.0
> Environment: any
> Reporter: Filip Maretić
> Priority: Minor
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> Non terminated quote character can cause OutOfMemoryException. Processor
> loads the entire content into memory in an attempt to find the closing quote
> character.
> h2. SUGGESTION
> Add a new *Max Lines Per Row* property to limit the number of lines being
> read. This is trivial since the used library SuperCSV already supports this
> out of the box.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)