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

Test that plan generation scales to very large workloads #240

Merged
merged 1 commit into from
Jun 29, 2023

Conversation

tomwhite
Copy link
Member

Changes the output_blocks function to an iterable so that the entire list of chunk coordinates isn't materialized during planning. Without this change the test wouldn't complete in any reasonable time; with the change it takes a couple of seconds.

Of course, these huge jobs won't run since currently the entire iterable is materialized before being submitted to the backend. See #239.

@tomwhite
Copy link
Member Author

BTW @TomNicholas and @keewis this should fix the problem with saw with generating a plan for large workloads from the meeting on Monday.

@tomwhite tomwhite merged commit a058f2e into main Jun 29, 2023
@tomwhite tomwhite deleted the test-plan-scaling branch June 29, 2023 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant