Skip to content

Commit 3329933

Browse files
authored
Change from quotes to backticks for BQ (#537)
1 parent 37199d3 commit 3329933

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

macros/sql/get_table_types_sql.sql

+9
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,12 @@
2020
else lower(table_type)
2121
end as "table_type"
2222
{% endmacro %}
23+
24+
{% macro bigquery__get_table_types_sql() %}
25+
case table_type
26+
when 'BASE TABLE' then 'table'
27+
when 'EXTERNAL TABLE' then 'external'
28+
when 'MATERIALIZED VIEW' then 'materializedview'
29+
else lower(table_type)
30+
end as `table_type`
31+
{% endmacro %}

0 commit comments

Comments
 (0)