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

Allow to change the main model directory name like staging_folder_name #495

Open
tarun-jacob opened this issue Sep 16, 2024 · 1 comment
Labels
enhancement New feature or request triage

Comments

@tarun-jacob
Copy link

Describe the feature

I would like to request a feature that allows changing the main models directory name in the package, similar to how we can change the staging_folder_name using a variable. This would provide greater flexibility for structuring DBT projects, especially for teams that may follow different conventions or naming standards across projects.

Describe alternatives you've considered

The primary alternative is manually renaming the models directory, but this approach is not ideal as it requires adjustments in multiple parts of the project configuration. Additionally, manually changing the folder name may introduce issues with path references and the packages internal workings that expect the default directory name to be models.

Who will this benefit?

This feature will be useful for DBT users who have complex model directory structures or who need to follow specific naming conventions across multiple DBT projects.
For example:

  • Teams working across multiple DBT projects may want to standardise or differentiate folder names to improve clarity and maintainability.
  • Users following specific naming standards set by their organisation.

Are you interested in contributing this feature?

I'm interested in contributing this feature and would appreciate guidance on getting started.

@tarun-jacob tarun-jacob added enhancement New feature or request triage labels Sep 16, 2024
@bkimjin
Copy link

bkimjin commented Oct 25, 2024

Isn't this a dbt_project.yml functionality by updating model-paths? I think by default it sets it to models, but you should be able to assign it multiple paths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage
Projects
None yet
Development

No branches or pull requests

2 participants