diff --git a/contributing/content-style-guide.md b/contributing/content-style-guide.md index 0d2bf243d45..4ebbf83bf5f 100644 --- a/contributing/content-style-guide.md +++ b/contributing/content-style-guide.md @@ -284,7 +284,7 @@ If the list starts getting lengthy and dense, consider presenting the same conte A bulleted list with introductory text: -> A dbt project is a directory of `.sql` and .yml` files. The directory must contain at a minimum: +> A dbt project is a directory of `.sql` and `.yml` files. The directory must contain at a minimum: > > - Models: A model is a single `.sql` file. Each model contains a single `select` statement that either transforms raw data into a dataset that is ready for analytics or, more often, is an intermediate step in such a transformation. > - A project file: A `dbt_project.yml` file, which configures and defines your dbt project. @@ -479,6 +479,9 @@ Some common Latin abbreviations and other words to use instead: | i.e. | that is | Use incremental models when your dbt runs are becoming too slow (that is, don't start with incremental models) | | e.g. |
limit
for query issues from the dbt Cloud CLI is 100 rows. We set this default to prevent returning unnecessarily large data sets as the dbt Cloud CLI is typically used to query the dbt Semantic Layer during the development process, not for production reporting or to access large data sets. For most workflows, you only need to return a subset of the data.--limit
option in your query. For example, to return 1000 rows, you can run dbt sl list metrics --limit 1000
.
+dbt
. This can create path conflicts if your operating system selects one over the other based on your $PATH environment variable (settings).~/.bashrc
, ~/.bash_profile
, ~/.zshrc
, or another file.source ~/.bashrc
dbt-cloud
command to invoke the dbt Cloud CLI while having dbt Core installed natively.
-Session occupied
error?Session occupied
error, you can reattach to your existing session with dbt reattach
and then press Control-C
and choose to cancel the invocation.
-{name}
dbt_metrics_calendar_table
does not exist or is not authorized?dbt_metrics_calendar_table
or a custom calendar set in the users dbt_project.yml
. If you have not created this model in the database, these queries will fail and you'll most likely see the following error message:
-
-Object DATABASE.SCHEMA.DBT_METRICS_DEFAULT_CALENDAR does not exist or not authorized.
dbt run --select dbt_metrics_default_calendar
dbt build
or dbt run
. If you are running specific selects
in your production job, then you will not create this required model.Object 'DATABASE.SCHEMA.METRIC_MODEL_TABLE' does not exist or not authorized.
dbt_metrics
≥v0.3.2 but have dbt-core
version ≥1.3.0, you’ll likely see these error messages:
-
-The metric NAME also references ... but its type is ''. Only metrics of type expression can reference other metrics.
Unknown aggregation style: > in macro default__gen_primary_metric_aggregate (macros/sql_gen/gen_primary_metric_aggregate.sql)
type
property of the metric spec in dbt-core v1.3.0. The new name is calculation_method
and the package reflects that new name, so it isn’t finding any type
when we try and run outdated code on it.>=1.3.0, <1.4.0
in your dbt project >=0.3.0, <0.4.0
in your dbt project >=1.3.0, <1.4.0
in your dbt project >=1.3.0, <1.4.0
in your dbt project >=0.3.0, <0.4.0
in your dbt project