@@ -34,7 +34,7 @@ def test_merge_when_matched_delete_wo_predicate(
34
34
source_alias = "s" ,
35
35
target_alias = "t" ,
36
36
commit_properties = commit_properties ,
37
- streaming = streaming ,
37
+ streamed_exec = streaming ,
38
38
).when_matched_delete ().execute ()
39
39
40
40
nrows = 4
@@ -77,7 +77,7 @@ def test_merge_when_matched_delete_with_predicate(
77
77
predicate = "t.id = s.id" ,
78
78
source_alias = "s" ,
79
79
target_alias = "t" ,
80
- streaming = streaming ,
80
+ streamed_exec = streaming ,
81
81
).when_matched_delete ("s.deleted = True" ).execute ()
82
82
83
83
nrows = 4
@@ -117,7 +117,7 @@ def test_merge_when_matched_update_wo_predicate(
117
117
predicate = "t.id = s.id" ,
118
118
source_alias = "s" ,
119
119
target_alias = "t" ,
120
- streaming = streaming ,
120
+ streamed_exec = streaming ,
121
121
).when_matched_update ({"price" : "s.price" , "sold" : "s.sold" }).execute ()
122
122
123
123
expected = pa .table (
@@ -201,7 +201,7 @@ def test_merge_when_matched_update_all_wo_predicate(
201
201
predicate = "t.id = s.id" ,
202
202
source_alias = "s" ,
203
203
target_alias = "t" ,
204
- streaming = streaming ,
204
+ streamed_exec = streaming ,
205
205
).when_matched_update_all ().execute ()
206
206
207
207
expected = pa .table (
@@ -242,7 +242,7 @@ def test_merge_when_matched_update_all_with_exclude(
242
242
predicate = "t.id = s.id" ,
243
243
source_alias = "s" ,
244
244
target_alias = "t" ,
245
- streaming = streaming ,
245
+ streamed_exec = streaming ,
246
246
).when_matched_update_all (except_cols = ["sold" ]).execute ()
247
247
248
248
expected = pa .table (
@@ -282,7 +282,7 @@ def test_merge_when_matched_update_with_predicate(
282
282
source_alias = "source" ,
283
283
target_alias = "target" ,
284
284
predicate = "target.id = source.id" ,
285
- streaming = streaming ,
285
+ streamed_exec = streaming ,
286
286
).when_matched_update (
287
287
updates = {"price" : "source.price" , "sold" : "source.sold" },
288
288
predicate = "source.deleted = False" ,
@@ -325,7 +325,7 @@ def test_merge_when_not_matched_insert_wo_predicate(
325
325
source_alias = "source" ,
326
326
target_alias = "target" ,
327
327
predicate = "target.id = source.id" ,
328
- streaming = streaming ,
328
+ streamed_exec = streaming ,
329
329
).when_not_matched_insert (
330
330
updates = {
331
331
"id" : "source.id" ,
@@ -372,7 +372,7 @@ def test_merge_when_not_matched_insert_with_predicate(
372
372
source_alias = "source" ,
373
373
target_alias = "target" ,
374
374
predicate = "target.id = source.id" ,
375
- streaming = streaming ,
375
+ streamed_exec = streaming ,
376
376
).when_not_matched_insert (
377
377
updates = {
378
378
"id" : "source.id" ,
@@ -471,7 +471,7 @@ def test_merge_when_not_matched_insert_all_with_predicate(
471
471
source_alias = "source" ,
472
472
target_alias = "target" ,
473
473
predicate = "target.id = source.id" ,
474
- streaming = streaming ,
474
+ streamed_exec = streaming ,
475
475
).when_not_matched_insert_all (
476
476
predicate = "source.price < 50" ,
477
477
).execute ()
@@ -513,7 +513,7 @@ def test_merge_when_not_matched_insert_all_with_exclude(
513
513
source_alias = "source" ,
514
514
target_alias = "target" ,
515
515
predicate = "target.id = source.id" ,
516
- streaming = streaming ,
516
+ streamed_exec = streaming ,
517
517
).when_not_matched_insert_all (except_cols = ["sold" ]).execute ()
518
518
519
519
expected = pa .table (
@@ -595,7 +595,7 @@ def test_merge_when_not_matched_insert_all_with_predicate_special_column_names(
595
595
source_alias = "source" ,
596
596
target_alias = "target" ,
597
597
predicate = "target.`1id` = source.`1id`" ,
598
- streaming = streaming ,
598
+ streamed_exec = streaming ,
599
599
).when_not_matched_insert_all (
600
600
predicate = "source.price < 50" ,
601
601
).execute ()
@@ -637,7 +637,7 @@ def test_merge_when_not_matched_by_source_update_wo_predicate(
637
637
source_alias = "source" ,
638
638
target_alias = "target" ,
639
639
predicate = "target.id = source.id" ,
640
- streaming = streaming ,
640
+ streamed_exec = streaming ,
641
641
).when_not_matched_by_source_update (
642
642
updates = {
643
643
"sold" : "int'10'" ,
@@ -681,7 +681,7 @@ def test_merge_when_not_matched_by_source_update_with_predicate(
681
681
source_alias = "source" ,
682
682
target_alias = "target" ,
683
683
predicate = "target.id = source.id" ,
684
- streaming = streaming ,
684
+ streamed_exec = streaming ,
685
685
).when_not_matched_by_source_update (
686
686
updates = {
687
687
"sold" : "int'10'" ,
@@ -725,7 +725,7 @@ def test_merge_when_not_matched_by_source_delete_with_predicate(
725
725
source_alias = "source" ,
726
726
target_alias = "target" ,
727
727
predicate = "target.id = source.id" ,
728
- streaming = streaming ,
728
+ streamed_exec = streaming ,
729
729
).when_not_matched_by_source_delete (predicate = "target.price > 3" ).execute ()
730
730
731
731
expected = pa .table (
@@ -763,7 +763,7 @@ def test_merge_when_not_matched_by_source_delete_wo_predicate(
763
763
source_alias = "source" ,
764
764
target_alias = "target" ,
765
765
predicate = "target.id = source.id" ,
766
- streaming = streaming ,
766
+ streamed_exec = streaming ,
767
767
).when_not_matched_by_source_delete ().execute ()
768
768
769
769
expected = pa .table (
@@ -806,7 +806,7 @@ def test_merge_multiple_when_matched_update_with_predicate(
806
806
source_alias = "source" ,
807
807
target_alias = "target" ,
808
808
predicate = "target.id = source.id" ,
809
- streaming = streaming ,
809
+ streamed_exec = streaming ,
810
810
).when_matched_update (
811
811
updates = {"price" : "source.price" , "sold" : "source.sold" },
812
812
predicate = "source.deleted = False" ,
@@ -852,7 +852,7 @@ def test_merge_multiple_when_matched_update_all_with_predicate(
852
852
source_alias = "source" ,
853
853
target_alias = "target" ,
854
854
predicate = "target.id = source.id" ,
855
- streaming = streaming ,
855
+ streamed_exec = streaming ,
856
856
).when_matched_update_all (
857
857
predicate = "source.deleted = False" ,
858
858
).when_matched_update_all (
@@ -896,7 +896,7 @@ def test_merge_multiple_when_not_matched_insert_with_predicate(
896
896
source_alias = "source" ,
897
897
target_alias = "target" ,
898
898
predicate = "target.id = source.id" ,
899
- streaming = streaming ,
899
+ streamed_exec = streaming ,
900
900
).when_not_matched_insert (
901
901
updates = {
902
902
"id" : "source.id" ,
@@ -953,7 +953,7 @@ def test_merge_multiple_when_matched_delete_with_predicate(
953
953
predicate = "t.id = s.id" ,
954
954
source_alias = "s" ,
955
955
target_alias = "t" ,
956
- streaming = streaming ,
956
+ streamed_exec = streaming ,
957
957
).when_matched_delete ("s.deleted = True" ).when_matched_delete (
958
958
"s.deleted = false"
959
959
).execute ()
@@ -999,7 +999,7 @@ def test_merge_multiple_when_not_matched_by_source_update_wo_predicate(
999
999
source_alias = "source" ,
1000
1000
target_alias = "target" ,
1001
1001
predicate = "target.id = source.id" ,
1002
- streaming = streaming ,
1002
+ streamed_exec = streaming ,
1003
1003
).when_not_matched_by_source_update (
1004
1004
updates = {
1005
1005
"sold" : "int'10'" ,
@@ -1055,7 +1055,7 @@ def test_merge_date_partitioned_2344(tmp_path: pathlib.Path, streaming: bool):
1055
1055
predicate = "s.date = t.date" ,
1056
1056
source_alias = "s" ,
1057
1057
target_alias = "t" ,
1058
- streaming = streaming ,
1058
+ streamed_exec = streaming ,
1059
1059
).when_matched_update_all ().when_not_matched_insert_all ().execute ()
1060
1060
1061
1061
result = dt .to_pyarrow_table ()
@@ -1172,7 +1172,7 @@ def test_merge_stats_columns_stats_provided(
1172
1172
predicate = "source.foo = target.foo" ,
1173
1173
source_alias = "source" ,
1174
1174
target_alias = "target" ,
1175
- streaming = streaming ,
1175
+ streamed_exec = streaming ,
1176
1176
).when_matched_update_all ().execute ()
1177
1177
1178
1178
dt = DeltaTable (tmp_path )
@@ -1289,7 +1289,7 @@ def test_merge_isin_partition_pruning(tmp_path: pathlib.Path, streaming: bool):
1289
1289
predicate = "t.id = s.id and t.partition in (3,4)" ,
1290
1290
source_alias = "s" ,
1291
1291
target_alias = "t" ,
1292
- streaming = streaming ,
1292
+ streamed_exec = streaming ,
1293
1293
)
1294
1294
.when_matched_update_all ()
1295
1295
.execute ()
@@ -1340,7 +1340,7 @@ def test_cdc_merge_planning_union_2908(tmp_path, streaming: bool):
1340
1340
predicate = "s.id = t.id" ,
1341
1341
source_alias = "s" ,
1342
1342
target_alias = "t" ,
1343
- streaming = streaming ,
1343
+ streamed_exec = streaming ,
1344
1344
).when_not_matched_insert_all ().execute ()
1345
1345
1346
1346
last_action = dt .history (1 )[0 ]
0 commit comments