You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After thinking about this for 5 minutes, I don't think there would be unintended consequences for partial parsing. If a file is ignored, it's as if it were deleted; if it's un-ignored, it's as if it were created for the first time.
Describe alternatives you've considered
Regex support for model-paths, test-paths, etc. Gross
Concretely, people who have .py files in their dbt projects that are not actually Python models!
Are you interested in contributing this feature?
No response
Anything else?
Another use case where this has come up: Removing unneeded files in dbt packages (#4837). Unfortunately, because of how dbt installs Hub packages, this would still require downloading all files and then deleting the "ignored" ones. See conversation in dbt-labs/hubcap#95.
The text was updated successfully, but these errors were encountered:
Is this your first time submitting a feature request?
Describe the feature
A
.dbtignore
file that uses.gitignore
syntax (including pattern matching) to define files that should NOT be parsed/loaded by dbt.Code for this would go in
read_files
After thinking about this for 5 minutes, I don't think there would be unintended consequences for partial parsing. If a file is ignored, it's as if it were deleted; if it's un-ignored, it's as if it were created for the first time.
Describe alternatives you've considered
Regex support for
model-paths
,test-paths
, etc. GrossWho will this benefit?
https://getdbt.slack.com/archives/C03QUA7DWCW/p1661873024869149
Concretely, people who have
.py
files in their dbt projects that are not actually Python models!Are you interested in contributing this feature?
No response
Anything else?
Another use case where this has come up: Removing unneeded files in dbt packages (#4837). Unfortunately, because of how dbt installs Hub packages, this would still require downloading all files and then deleting the "ignored" ones. See conversation in dbt-labs/hubcap#95.
The text was updated successfully, but these errors were encountered: