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