hussein-awala opened a new pull request, #29794:
URL: https://github.com/apache/airflow/pull/29794

   closes: #29781 
   
   ---
   Currently when we provide `file_pattern` to `SFTPSensor`, it tries to get 
the first matched file and return `True` when it finds one. But it does the 
same thing when `newer_than` is provided, so instead of checking if there is at 
least one file newer than the provided date, it checks if the first matched 
file is newer than this date.
   
   This PR fixes this bug by getting all the matched files, and returning 
`True` when there is at least one file newer than the provided date.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to