Skip to content

Commit 2891b45

Browse files
authored
Merge branch 'main' into dbt-1-6-0-compat
2 parents 7cc01b5 + 1bd64e4 commit 2891b45

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

dbt/adapters/sqlite/connections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def open(cls, connection: Connection):
7474

7575
for ext_path in credentials.extensions:
7676
handle.load_extension(ext_path)
77-
77+
7878
cursor = handle.cursor()
7979

8080
for schema in set(schemas_and_paths.keys()) - set(['main']):

dbt/include/sqlite/macros/adapters.sql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@
9595
{% if contract_config.enforced %}
9696
{{exceptions.warn("Model contracts cannot be enforced by sqlite!")}}
9797
{% endif %}
98-
create view {{ relation }}
99-
as
98+
create view {{ relation }} as
10099
{{ sql }};
101100
{%- endmacro %}
102101

dbt/include/sqlite/macros/utils/timestamps.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99

1010
{% macro sqlite__snapshot_get_time() -%}
1111
datetime()
12-
{%- endmacro %}
12+
{%- endmacro %}

0 commit comments

Comments
 (0)