You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Andrew Loughran (JIRA)" <ji...@apache.org> on 2017/09/27 12:31:00 UTC

[jira] [Created] (AIRFLOW-1649) S3KeySensor doesn't return what files were matched for wildcard searches

Andrew Loughran created AIRFLOW-1649:
----------------------------------------

             Summary: S3KeySensor doesn't return what files were matched for wildcard searches
                 Key: AIRFLOW-1649
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1649
             Project: Apache Airflow
          Issue Type: Bug
          Components: operators
    Affects Versions: Airflow 1.8
         Environment: All OS (I'm running on macOS Sierra, and Ubuntu 16.04LTS
            Reporter: Andrew Loughran
            Assignee: Andrew Loughran


The S3KeySensor doesn't currently return useful information about the key that was recognised if doing a wildcard lookup.

My proposal is to modify the S3KeySensor, so that if a key exists, it'll then list the keys that are matched in the S3Bucket using hook.list_keys() - and then publish these to xcom.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)