Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Ingestion RT table save for yield #214

Merged
merged 3 commits into from
Jan 3, 2024
Merged

Conversation

rymarczy
Copy link
Collaborator

@rymarczy rymarczy commented Jan 3, 2024

Ingestion is running out of memory processing very large trip update tables.

This fix changes the way RT table data is stored during ingestion loops.

Previously, json.gz table data was stored as a list of individual pyarrow tables, that was concatenated before writing to parquet.

The new method concats each json.gz pyarrow table to a main pyarrow table when each table is extracted.

@rymarczy rymarczy requested a review from mzappitello January 3, 2024 19:09
Copy link
Contributor

@mzappitello mzappitello left a comment

Choose a reason for hiding this comment

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

🍰

@rymarczy rymarczy merged commit 2d6d79d into main Jan 3, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants