File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
sqlmesh/core/engine_adapter
tests/core/engine_adapter Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments