File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
fixtures/dbt/sushi_test/macros/materializations Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ def test_source_meta_external_location():
232232 expected = (
233233 "read_parquet('path/to/external/items.parquet')"
234234 if DBT_VERSION >= (1 , 4 , 0 )
235- else '"main "."parquet_file".items'
235+ else '"memory "."parquet_file".items'
236236 )
237237 assert relation .render () == expected
238238
Original file line number Diff line number Diff line change 2424 {%- if existing_relation is none - %}
2525 {# The first insert creates new table if it doesn't exist #}
2626 {%- call statement(' main' ) - %}
27- {{ create_table_as(False, new_relation, sql) }}
27+ CREATE TABLE {{ new_relation }}
28+ AS {{ sql }}
2829 {%- endcall - %}
2930 {%- else - %}
3031 {# Incremental load, appending new data with optional time filtering #}
4041
4142 {%- call statement(' create_temp' ) - %}
4243 {{ create_table_as(True, temp_relation, filtered_sql) }}
44+ CREATE TABLE {{ temp_relation }}
45+ AS {{ filtered_sql }}
4346 {%- endcall - %}
4447
4548 {%- call statement(' insert' ) - %}
You can’t perform that action at this time.
0 commit comments