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

ASF GitHub Bot commented on NIFI-1123:
--------------------------------------

Github user apiri commented on the pull request:

    https://github.com/apache/nifi/pull/116#issuecomment-157495716
  
    @jskora Sorry, I think a few of the different contexts from messages 
between you, @trkurc and I made communication a bit jumbled.
    
    To that end, I am onboard with regex, but personally, would not want a 
second field to the same focus.  The issue that is present is more of an issue 
with the underlying framework and its handling with EL.  What I was suggesting 
with the regex validator is applying the validation to an entered string, but 
bypassing validation for where these values are specified on a per FlowFile 
basis via EL.  What is missing is not so much the granularity as it is the 
ability to route failures which is currently nonexistent and was some of what 
@trkurc was asking about what the appropriate tradeoffs/concessions are given 
the current state of the framework.  To this idea, I am more for keeping 
consistent with how we are now and letting this get addressed with the needed 
framework adjustments as we move forward.
    
    To your question regarding deletion, that is certainly not on you or any 
extension developer.  As highlighted by NIFI-1181/1182, these values are 
safeguarded but your processor exposed the bug of where it was not safeguarded 
in this context.


> Extend the "Delete Attributes Expression" to support Expression Language
> ------------------------------------------------------------------------
>
>                 Key: NIFI-1123
>                 URL: https://issues.apache.org/jira/browse/NIFI-1123
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: Joe Skora
>            Assignee: Joe Skora
>            Priority: Minor
>              Labels: easyfix, features, patch
>
> Allow the "Delete Attributes Expression" to accept Expression Language to 
> dynamically produce the regular expression to identify attributes to be 
> deleted per discussion on 
> [NIFI-641|https://issues.apache.org/jira/browse/NIFI-641].



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

Reply via email to