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
{{ message }}
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.
$ dbt run
Running with dbt=0.15.0
Found 11 models, 20 tests, 0 snapshots, 0 analyses, 264 macros, 4 operations, 3 seed files, 0 sources
11:11:33 |
11:11:33 | Running 3 on-run-start hooks
11:11:33 | 1 of 3 START hook: logging.on-run-start.0............................ [RUN]
11:11:33 | 1 of 3 OK hook: logging.on-run-start.0............................... [CREATE SCHEMA in 0.06s]
11:11:33 | 2 of 3 START hook: logging.on-run-start.1............................ [RUN]
11:11:33 | 2 of 3 OK hook: logging.on-run-start.1............................... [CREATE TABLE in 0.05s]
11:11:33 | 3 of 3 START hook: logging.on-run-start.2............................ [RUN]
11:11:33 | 3 of 3 OK hook: logging.on-run-start.2............................... [INSERT 0 1 in 0.10s]
11:11:33 |
11:11:33 | Concurrency: 1 threads (target='dev_redshift')
11:11:33 |
11:11:33 | 1 of 11 START view model jaffle_shop_dev_foo.stg_orders.............. [RUN]
11:11:35 | 1 of 11 OK created view model jaffle_shop_dev_foo.stg_orders......... [CREATE VIEW in 1.42s]
11:11:35 | 2 of 11 START view model jaffle_shop_dev_foo.stg_payments............ [RUN]
11:11:36 | 2 of 11 OK created view model jaffle_shop_dev_foo.stg_payments....... [CREATE VIEW in 1.36s]
11:11:36 | 3 of 11 START view model meta_foo.stg_dbt_audit_log.................. [RUN]
11:11:37 | 3 of 11 ERROR creating view model meta_foo.stg_dbt_audit_log......... [ERROR in 0.89s]
11:11:37 | 4 of 11 START view model jaffle_shop_dev_foo.stg_customers........... [RUN]
11:11:39 | 4 of 11 OK created view model jaffle_shop_dev_foo.stg_customers...... [CREATE VIEW in 1.53s]
11:11:39 | 5 of 11 START table model jaffle_shop_dev_foo.customer_orders........ [RUN]
11:11:41 | 5 of 11 OK created table model jaffle_shop_dev_foo.customer_orders... [SELECT in 1.51s]
11:11:41 | 6 of 11 START table model jaffle_shop_dev_foo.customer_payments...... [RUN]
11:11:43 | 6 of 11 OK created table model jaffle_shop_dev_foo.customer_payments. [SELECT in 1.76s]
11:11:43 | 7 of 11 START table model jaffle_shop_dev_foo.order_payments......... [RUN]
11:11:45 | 7 of 11 OK created table model jaffle_shop_dev_foo.order_payments.... [SELECT in 1.81s]
11:11:45 | 8 of 11 SKIP relation meta_foo.stg_dbt_deployments................... [SKIP]
11:11:45 | 9 of 11 SKIP relation meta_foo.stg_dbt_model_deployments............. [SKIP]
11:11:45 | 10 of 11 START table model jaffle_shop_dev_foo.fct_customers......... [RUN]
11:11:47 | 10 of 11 OK created table model jaffle_shop_dev_foo.fct_customers.... [SELECT in 2.54s]
11:11:47 | 11 of 11 START table model jaffle_shop_dev_foo.fct_orders............ [RUN]
11:11:50 | 11 of 11 OK created table model jaffle_shop_dev_foo.fct_orders....... [SELECT in 1.95s]
11:11:50 |
11:11:50 | Running 1 on-run-end hook
11:11:50 | 1 of 1 START hook: logging.on-run-end.0.............................. [RUN]
11:11:50 | 1 of 1 OK hook: logging.on-run-end.0................................. [COMMIT in 0.30s]
11:11:50 |
11:11:50 |
11:11:50 | Finished running 6 view models, 5 table models, 4 hooks in 17.96s.
Completed with 1 error and 0 warnings:
Database Error in model stg_dbt_audit_log (models/stg_dbt_audit_log.sql)
relation "meta_foo.dbt_audit_log" does not exist
compiled SQL at target/run/logging/stg_dbt_audit_log.sql
The problematic SQL is:
with audit as (
select * from {{this.schema}}.dbt_audit_log
),
...
Steps to reproduce
generate_schema_name
macro to your project, e.g.:Expected results
Success
Actual results
Error - the
dbt_audit_log
SQL is invalidThe problematic SQL is:
Related to #7
The text was updated successfully, but these errors were encountered: