We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37199d3 commit 3329933Copy full SHA for 3329933
macros/sql/get_table_types_sql.sql
@@ -20,3 +20,12 @@
20
else lower(table_type)
21
end as "table_type"
22
{% 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