You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Purushotham Pushpavanthar (JIRA)" <ji...@apache.org> on 2019/03/16 18:57:00 UTC

[jira] [Commented] (NIFI-5979) ReplaceText Number of Occurrences

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

Purushotham Pushpavanthar commented on NIFI-5979:
-------------------------------------------------

Having config for Number of occurrences to replace makes sense. I would like to have the *Occurrence offset* from which replacement is considered. Default value for *Occurrence offset* can be 0 which means it starts from beginning of the flowfile content. 

[~spiglitz] Please comment your views on this. I started working on this.

> ReplaceText Number of Occurrences
> ---------------------------------
>
>                 Key: NIFI-5979
>                 URL: https://issues.apache.org/jira/browse/NIFI-5979
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Adam Fisher
>            Assignee: Purushotham Pushpavanthar
>            Priority: Trivial
>
> Add a property to ReplaceText for *Number of Occurrences* to replace.
> This would have been useful in a situation where I only wanted to replace one string at the beginning of a CSV file since I needed the ability to remove white spaces from CSV header fields to make Avro schema happy.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)