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

Michael Moser commented on NIFI-436:
------------------------------------

I think removing the capability to auto-detect the line endings in each file is 
too significant a change to SplitText.  There are already a lot of users that 
depend on not having to worry about knowing which line endings are in their 
files.  I will remove the 1.0.0 Fix Version as we discuss this more.

Handling files that can have CR or LF characters that are not the intended line 
ending has taken us into very specific implementations of using a text 
qualifier for encapsulating that data.  There is another proposal for a 
SplitCSV processor, NIFI-1716, where this would be more appropriate.

I believe this ticket should be closed.

> SplitText should allow changing the endline regex
> -------------------------------------------------
>
>                 Key: NIFI-436
>                 URL: https://issues.apache.org/jira/browse/NIFI-436
>             Project: Apache NiFi
>          Issue Type: Improvement
>    Affects Versions: 0.6.1
>            Reporter: Jon Parise
>            Assignee: Karthik Narayanan
>              Labels: beginner
>             Fix For: 1.0.0
>
>         Attachments: nifi-4361x.patch
>
>
> I have a CSV file in a format that inidcates the end of a line with a crlf. 
> This file has embedded comments that have lf in them.
> When I run this file through the split text processor, it is splitting at the 
> LF characters.
> I think it would be nice to have a setting to change the line ending 
> characters for splitting text.
> I can't find anything in the documentation that indicates how I would change 
> this behavior, so I assume it does not exist.
> Also, I would be willing to try and implement this improvement, but I can't 
> seem to find the source for the SplitTextProcessor.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to