You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "dominikhei (via GitHub)" <gi...@apache.org> on 2025/05/31 22:10:42 UTC
[PR] Adjusted _dump_table_to_file to read rows in batches to prevent memor… [airflow]
dominikhei opened a new pull request, #51268:
URL: https://github.com/apache/airflow/pull/51268
---
closes: #
I have adjusted the `_dump_table_to_file` function, to fetch rows in batches of 500 and thus not run into problems if the db to be exported is larger than your ram.
The test case now also mocks rows returned by `.fetchmany() `, according to the return type of `.fetchmany()` (https://peps.python.org/pep-0249/#fetchmany)
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Adjusted _dump_table_to_file to read rows in batches to prevent memor… [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #51268:
URL: https://github.com/apache/airflow/pull/51268
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Adjusted _dump_table_to_file to read rows in batches to prevent memor… [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on PR #51268:
URL: https://github.com/apache/airflow/pull/51268#issuecomment-2926915390
Nice!
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org