Skip to content

Commit

Permalink
quote project name (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-vl authored Jan 18, 2024
1 parent 9a4d4da commit 21428bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/plugins/bigquery/create_external_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{%- endset -%}

{% set schema_exists_query %}
select * from {{ source_node.database }}.INFORMATION_SCHEMA.SCHEMATA where schema_name = '{{ source_node.schema }}' limit 1
select * from `{{ source_node.database }}`.INFORMATION_SCHEMA.SCHEMATA where schema_name = '{{ source_node.schema }}' limit 1
{% endset %}
{% if execute %}
{% set schema_exists = run_query(schema_exists_query)|length > 0 %}
Expand Down

0 comments on commit 21428bc

Please sign in to comment.