Skip to content

Commit ada8860

Browse files
authored
Update --help text for cache-related parameters (dbt-labs#7389)
1 parent a87275a commit ada8860

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
kind: Under the Hood
2+
body: Update --help text for cache-related parameters
3+
time: 2023-04-18T12:23:23.276693+02:00
4+
custom:
5+
Author: jtcohen6
6+
Issue: "7381"

core/dbt/cli/params.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
cache_selected_only = click.option(
2424
"--cache-selected-only/--no-cache-selected-only",
2525
envvar="DBT_CACHE_SELECTED_ONLY",
26-
help="Pre cache database objects relevant to selected resource only.",
26+
help="At start of run, populate relational cache only for schemas containing selected nodes, or for all schemas of interest.",
2727
)
2828

2929
introspect = click.option(
@@ -121,7 +121,7 @@
121121

122122
log_cache_events = click.option(
123123
"--log-cache-events/--no-log-cache-events",
124-
help="Enable verbose adapter cache logging.",
124+
help="Enable verbose logging for relational cache events to help when debugging.",
125125
envvar="DBT_LOG_CACHE_EVENTS",
126126
)
127127

@@ -242,7 +242,7 @@
242242
populate_cache = click.option(
243243
"--populate-cache/--no-populate-cache",
244244
envvar="DBT_POPULATE_CACHE",
245-
help="Allow for partial parsing by looking for and writing to a pickle file in the target directory. This overrides the user configuration file.",
245+
help="At start of run, use `show` or `information_schema` queries to populate a relational cache, which can speed up subsequent materializations.",
246246
default=True,
247247
)
248248

0 commit comments

Comments
 (0)