Skip to content

Conversation

@james5418
Copy link
Contributor

Closed: #50159


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@boring-cyborg boring-cyborg bot added area:providers provider:amazon AWS/Amazon - related issues labels May 7, 2025
@jason810496 jason810496 self-requested a review May 7, 2025 06:10
Copy link
Member

@jason810496 jason810496 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Only small question about the compression part and encoding for TextIOWrapper.

@james5418 james5418 force-pushed the fix-high-memory-usage-and-temp-file-name-leak-in-SqlToS3Operator branch from e1aae82 to 3e62bda Compare May 8, 2025 02:28
@eladkal eladkal requested review from ferruzzi and vincbeck May 8, 2025 12:00
@james5418 james5418 force-pushed the fix-high-memory-usage-and-temp-file-name-leak-in-SqlToS3Operator branch from 3e62bda to 8f7d4d4 Compare May 9, 2025 04:39
Copy link
Member

@jason810496 jason810496 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@vincbeck vincbeck merged commit 9d4bca1 into apache:main May 12, 2025
68 checks passed
sanederchik pushed a commit to sanederchik/airflow that referenced this pull request Jun 7, 2025
* replace NamedTemporaryFile with in-memory buffer for S3 uploads and add gzip support

* add UTF-8 encoding to TextIOWrapper

* update mock method from get_pandas_df to get_df in SqlToS3Operator tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:amazon AWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

High Memory Usage and Temp File Name Leak in SqlToS3Operator

3 participants