We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 575c7b2 + cc60216 commit a290accCopy full SHA for a290acc
macros/common/generate_create_logs_query.sql
@@ -37,7 +37,7 @@
37
select
38
ddl as query
39
from
40
- `{{ target_model.schema }}`.INFORMATION_SCHEMA.TABLES
+ `{{ target_model.database }}`.`{{ target_model.schema }}`.INFORMATION_SCHEMA.TABLES
41
WHERE
42
table_name = '{{ target_model.name }}'
43
and creation_time < timestamp_sub(current_timestamp(), interval {{ num_units }} {{ time_unit }})
0 commit comments