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

feat: take the concurrencyLimit from feature flags and keep in dependencies #4564

Merged
merged 1 commit into from
Mar 18, 2022

Commits on Mar 18, 2022

  1. feat: take the concurrencyLimit from FF and keep it in the dependencies

    Pull the concurrencyLimit from feature flags at the start of the execution
    process, before planning, and stash it in the ExecutionOptions, which live in
    the ExecutionDependencies. From there it can then be modified by planner rules.
    This allows parallelization rules to raise the limit if they parallelize a
    query.
    
    At the same time we move the defaultMemoryLimit from the planner and into the
    execution options. We also move the computation of memory limit and concurrency
    quota from the planner and into the executor.
    
    Included are test cases covering the existing and the new method of
    determining query concurrency.
    adrian-thurston committed Mar 18, 2022
    Configuration menu
    Copy the full SHA
    9a4aad1 View commit details
    Browse the repository at this point in the history