apache/airflow
Auf GitHub ansehenEnable Streaming from SFTP to GCS in `SFTPToGCSOperator`
Open
#34.995 geöffnet am 17. Okt. 2023
area:providersgood first issuekind:featureprovider:googleprovider:sftp
Repository-Metriken
- Stars
- (44.809 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 7T 18h) (834 gemergte PRs in 30 T)
Beschreibung
Description
The current SFTPToGCSOperator in Airflow does not support streaming objects directly from SFTP to Google Cloud Storage (GCS). This design poses a challenge since both Composer and Airflow best practices recommend against assigning large amounts of memory to workers. Transferring sizeable files from SFTP to GCS without streaming can potentially max out worker memory.
Use case/motivation
Prevent worker memory exhaustion, especially when dealing with large files.
Related issues
No response
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct