Skip to content

Commit 0b837a1

Browse files
committed
fix unit tests
1 parent 53184b6 commit 0b837a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sqlmesh/core/engine_adapter/fabric.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def _insert_overwrite_by_condition(
7070
self,
7171
table_name=table_name,
7272
source_queries=source_queries,
73-
columns_to_types=target_columns_to_types,
73+
target_columns_to_types=target_columns_to_types,
7474
where=where,
7575
insert_overwrite_strategy_override=InsertOverwriteStrategy.DELETE_INSERT,
7676
**kwargs,

tests/core/engine_adapter/test_fabric.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def test_insert_overwrite_by_time_partition(adapter: FabricEngineAdapter):
6363
end="2022-01-02",
6464
time_column="b",
6565
time_formatter=lambda x, _: exp.Literal.string(x.strftime("%Y-%m-%d")),
66-
columns_to_types={"a": exp.DataType.build("INT"), "b": exp.DataType.build("STRING")},
66+
target_columns_to_types={"a": exp.DataType.build("INT"), "b": exp.DataType.build("STRING")},
6767
)
6868

6969
# Fabric adapter should use DELETE/INSERT strategy, not MERGE.

0 commit comments

Comments
 (0)