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

[Feature] Support for Custom Pool Selection in dbt-Cosmos for Airflow #1325

Open
1 task done
wornjs opened this issue Nov 15, 2024 · 0 comments
Open
1 task done

[Feature] Support for Custom Pool Selection in dbt-Cosmos for Airflow #1325

wornjs opened this issue Nov 15, 2024 · 0 comments
Labels
area:config Related to configuration, like YAML files, environment variables, or executer configuration enhancement New feature or request triage-needed Items need to be reviewed / assigned to milestone

Comments

@wornjs
Copy link
Contributor

wornjs commented Nov 15, 2024

Description

Title: Support for Custom Pool Selection in dbt-Cosmos for Airflow

Description:
Currently, when using dbt-Cosmos, we are limited to a specific pool in Airflow. However, we would like to schedule models based on their characteristics, as follows:

Pool Size 1: For heavy tasks to be processed one at a time, dedicating DW resources exclusively to a single task.
Pool Size 10: For lightweight tasks, allowing multiple queries to be executed concurrently.
If a model does not specify a pool, it should use the default pool. However, if a pool is defined in the model’s configuration, that pool should be applied to the task.

  - name: model_name
    description: description
    meta:
      owner: "owner"
      cosmos: 
         pool: custom_pool

This feature would allow for better resource management and parallelization based on the workload requirements of each model.

Additionally, it would be useful to allow more flexible configurations under meta.cosmos, such as specifying multiple values for dbt-Cosmos use. For example, setting a custom warehouse in Snowflake.

Use case/motivation

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes, I am willing to submit a PR!
@wornjs wornjs added enhancement New feature or request triage-needed Items need to be reviewed / assigned to milestone labels Nov 15, 2024
@dosubot dosubot bot added the area:config Related to configuration, like YAML files, environment variables, or executer configuration label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:config Related to configuration, like YAML files, environment variables, or executer configuration enhancement New feature or request triage-needed Items need to be reviewed / assigned to milestone
Projects
None yet
Development

No branches or pull requests

1 participant