You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Julian Gimbel (JIRA)" <ji...@apache.org> on 2019/01/04 13:40:00 UTC
[jira] [Updated] (NIFI-5931) GetHDFS Property File Filter Regex
should use Expression Language
[ https://issues.apache.org/jira/browse/NIFI-5931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Gimbel updated NIFI-5931:
--------------------------------
Description:
Currently if we want to get a 2 day old file every day where the filename contains the date we need to get the whole folder of data and then filter the files with routeOnAttribute. It would be good to use expression language to create a file filter regex like:
.**${now():minus(86400000):format('yyyyMMdd')}.**
was:
Currently if we want to get a 2 day old file every day where the filename contains the date we need to get the whole folder of data and then filter the files with routeOnAttribute. It would be good to use expression language to create a file filter regex like:
.*${now():minus(86400000):format('yyyyMMdd')}.*
> GetHDFS Property File Filter Regex should use Expression Language
> -----------------------------------------------------------------
>
> Key: NIFI-5931
> URL: https://issues.apache.org/jira/browse/NIFI-5931
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Affects Versions: 1.8.0
> Reporter: Julian Gimbel
> Priority: Minor
>
> Currently if we want to get a 2 day old file every day where the filename contains the date we need to get the whole folder of data and then filter the files with routeOnAttribute. It would be good to use expression language to create a file filter regex like:
> .**${now():minus(86400000):format('yyyyMMdd')}.**
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)