-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[CT-2169] [Bug] All global configs should also be settable in ProjectFlags #7036
Comments
But maybe not |
Switching this from |
Add a test to pull out everything global and ensure there are configs. |
I took a swing at auditing our global configs versus UserConfig and recorded them in this internal spreadsheet. Global configs missing from UserConfigAfter filtering out flags that are
ExclusionsPreviously decided here to exclude Excluded Hidden flags that are missing from UserConfig
UserConfig missing from global configsThere
|
The remaining scope of this issue is to decide whether these "global" flags should be settable in
The question being: Do these feel different enough from all other global configs to justify the inconsistency? Right now, we only disallow setting file-path flags ( |
At various times, I've found myself tying to set each of these within But it seems the least amount of effort and confusion within the code base and the documentation to make them global in |
Opening from #6903 (comment)
There are some "global configs" that are supported as params (flag / env var), but missing in
ProjectFlags
.Acceptance criteria:
dbt_project.yml
). These decorators, documented here:https://docs.getdbt.com/reference/global-configs
click.Path
(--log-path
,--target-path
), which do not make sense to define in a separate fileRelevant, but very much out of scope for this issue:
The text was updated successfully, but these errors were encountered: