BenediktRamsauer opened a new pull request, #29467:
URL: https://github.com/apache/airflow/pull/29467

   This PR will solve the issue registered by @RishuGuru in #28121.
   It also takes into account the request from @potiuk in #28123 to add/fix the 
unit tests.
   
   In summary, the SFTP Sensor was not finding the files when the 
`file_pattern` argument was used.
   This was due to an incorrect assumption that  the SFTP Hook function 
`get_file_by_pattern` would return the full path, where actually it only 
returns the file name (corrected in e08a702b508e01c8437e4a45eaa726bb39e4f47f).
   
   The unit test that was checking that also made this assumption (corrected in 
018f316f96ed5f6361eea59987996454ced73bc7).
   
   closes: #28121
   


-- 
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