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

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

Github user rickysaltzer commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/248#discussion_r54298517
  
    --- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/UnpackContent.java
 ---
    @@ -202,11 +213,11 @@ public void onTrigger(final ProcessContext context, 
final ProcessSession session
             final boolean addFragmentAttrs;
             switch (packagingFormat) {
                 case TAR_FORMAT:
    --- End diff --
    
    yeah I noticed the same thing when I added the filter ability. I didn't 
want to make any major refactoring to it in fear it would break. I could give 
it a try though, because I agree, it doesn't make sense to have this logic for 
each incoming flowfile. 


> Allow user to specify file filter regex when unpacking zip/tar archives 
> ------------------------------------------------------------------------
>
>                 Key: NIFI-1568
>                 URL: https://issues.apache.org/jira/browse/NIFI-1568
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Ricky Saltzer
>            Assignee: Ricky Saltzer
>
> There are times where you may want to only extract a portion of an archive, 
> such as a specific folder, or perhaps a specific file. Similar to how the 
> {{GetFile}} processor works, we should provide a property ({{File Filter}}) 
> which  by default extracts all files. The user can modify this property to 
> extract only files they wish to process downstream. 
>  



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

Reply via email to