We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f13a392 commit 6f675f1Copy full SHA for 6f675f1
macros/sql/get_table_types_sql.sql
@@ -30,3 +30,13 @@
30
else lower(table_type)
31
end as {{ adapter.quote('table_type') }}
32
{% endmacro %}
33
+
34
+{% macro bigquery__get_table_types_sql() %}
35
+ case table_type
36
+ when 'BASE TABLE' then 'table'
37
+ when 'CLONE' then 'table'
38
+ when 'EXTERNAL TABLE' then 'external'
39
+ when 'MATERIALIZED VIEW' then 'materializedview'
40
+ else lower(table_type)
41
+ end as {{ adapter.quote('table_type') }}
42
+{% endmacro %}
0 commit comments