[ 
https://issues.apache.org/jira/browse/AIRFLOW-4085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthew Livesey updated AIRFLOW-4085:
-------------------------------------
    Description: 
When using FileSensor, it is necessary to specify the exact path of the file or 
folder to be sensed.

There are use cases where the exact file name may not be known. For example if 
a file is delivered daily, but includes the full timestamp of file creation in 
the name, such as
{code:java}
my_data_2019-03-01T13_45_03.csv
{code}
I would like the FileSensor to sense with a file path such as
{code:java}
my_data_2019-03-01*.csv{code}

  was:
When using FileSensor, it is necessary to specify the exact path of the file or 
folder to be sensed.

There are use cases where the exact file name may not be known. For example if 
a file is delivered daily, but includes the full timestamp of file creation in 
the name, such as


{code:java}
my_data_2019-03-01T13_45_03.csv
{code}
I would like the FileSensor to sense with a file path such as
{code:java}
my_data_2019-03-01*.cs{code}


> Support wildcards in FileSensor
> -------------------------------
>
>                 Key: AIRFLOW-4085
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4085
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: contrib
>            Reporter: Matthew Livesey
>            Priority: Minor
>
> When using FileSensor, it is necessary to specify the exact path of the file 
> or folder to be sensed.
> There are use cases where the exact file name may not be known. For example 
> if a file is delivered daily, but includes the full timestamp of file 
> creation in the name, such as
> {code:java}
> my_data_2019-03-01T13_45_03.csv
> {code}
> I would like the FileSensor to sense with a file path such as
> {code:java}
> my_data_2019-03-01*.csv{code}



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

Reply via email to