@@ -960,11 +960,7 @@ fn test_checkpoint_batch_with_no_sidecars_returns_none() -> DeltaResult<()> {
960960#[ test]
961961fn test_checkpoint_batch_with_sidecars_returns_sidecar_batches ( ) -> DeltaResult < ( ) > {
962962 let ( store, log_root) = new_in_memory_store ( ) ;
963- let engine = DefaultEngine :: new (
964- store. clone ( ) ,
965- Arc :: new ( TokioBackgroundExecutor :: new ( ) ) ,
966- None ,
967- ) ;
963+ let engine = DefaultEngine :: new ( store. clone ( ) , Arc :: new ( TokioBackgroundExecutor :: new ( ) ) ) ;
968964 let read_schema = get_all_actions_schema ( ) . project ( & [ ADD_NAME , REMOVE_NAME , SIDECAR_NAME ] ) ?;
969965
970966 add_sidecar_to_store (
@@ -1004,11 +1000,7 @@ fn test_checkpoint_batch_with_sidecars_returns_sidecar_batches() -> DeltaResult<
10041000#[ test]
10051001fn test_checkpoint_batch_with_sidecar_files_that_do_not_exist ( ) -> DeltaResult < ( ) > {
10061002 let ( store, log_root) = new_in_memory_store ( ) ;
1007- let engine = DefaultEngine :: new (
1008- store. clone ( ) ,
1009- Arc :: new ( TokioBackgroundExecutor :: new ( ) ) ,
1010- None ,
1011- ) ;
1003+ let engine = DefaultEngine :: new ( store. clone ( ) , Arc :: new ( TokioBackgroundExecutor :: new ( ) ) ) ;
10121004
10131005 let checkpoint_batch = sidecar_batch_with_given_paths (
10141006 vec ! [ "sidecarfile1.parquet" , "sidecarfile2.parquet" ] ,
@@ -1035,11 +1027,7 @@ fn test_checkpoint_batch_with_sidecar_files_that_do_not_exist() -> DeltaResult<(
10351027#[ test]
10361028fn test_reading_sidecar_files_with_predicate ( ) -> DeltaResult < ( ) > {
10371029 let ( store, log_root) = new_in_memory_store ( ) ;
1038- let engine = DefaultEngine :: new (
1039- store. clone ( ) ,
1040- Arc :: new ( TokioBackgroundExecutor :: new ( ) ) ,
1041- None ,
1042- ) ;
1030+ let engine = DefaultEngine :: new ( store. clone ( ) , Arc :: new ( TokioBackgroundExecutor :: new ( ) ) ) ;
10431031 let read_schema = get_all_actions_schema ( ) . project ( & [ ADD_NAME , REMOVE_NAME , SIDECAR_NAME ] ) ?;
10441032
10451033 let checkpoint_batch =
@@ -1079,11 +1067,7 @@ fn test_reading_sidecar_files_with_predicate() -> DeltaResult<()> {
10791067fn test_create_checkpoint_stream_returns_checkpoint_batches_as_is_if_schema_has_no_file_actions (
10801068) -> DeltaResult < ( ) > {
10811069 let ( store, log_root) = new_in_memory_store ( ) ;
1082- let engine = DefaultEngine :: new (
1083- store. clone ( ) ,
1084- Arc :: new ( TokioBackgroundExecutor :: new ( ) ) ,
1085- None ,
1086- ) ;
1070+ let engine = DefaultEngine :: new ( store. clone ( ) , Arc :: new ( TokioBackgroundExecutor :: new ( ) ) ) ;
10871071 add_checkpoint_to_store (
10881072 & store,
10891073 // Create a checkpoint batch with sidecar actions to verify that the sidecar actions are not read.
@@ -1130,11 +1114,7 @@ fn test_create_checkpoint_stream_returns_checkpoint_batches_as_is_if_schema_has_
11301114fn test_create_checkpoint_stream_returns_checkpoint_batches_if_checkpoint_is_multi_part (
11311115) -> DeltaResult < ( ) > {
11321116 let ( store, log_root) = new_in_memory_store ( ) ;
1133- let engine = DefaultEngine :: new (
1134- store. clone ( ) ,
1135- Arc :: new ( TokioBackgroundExecutor :: new ( ) ) ,
1136- None ,
1137- ) ;
1117+ let engine = DefaultEngine :: new ( store. clone ( ) , Arc :: new ( TokioBackgroundExecutor :: new ( ) ) ) ;
11381118
11391119 // Multi-part checkpoints should never contain sidecar actions.
11401120 // This test intentionally includes batches with sidecar actions in multi-part checkpoints
@@ -1202,11 +1182,7 @@ fn test_create_checkpoint_stream_returns_checkpoint_batches_if_checkpoint_is_mul
12021182fn test_create_checkpoint_stream_reads_parquet_checkpoint_batch_without_sidecars ( ) -> DeltaResult < ( ) >
12031183{
12041184 let ( store, log_root) = new_in_memory_store ( ) ;
1205- let engine = DefaultEngine :: new (
1206- store. clone ( ) ,
1207- Arc :: new ( TokioBackgroundExecutor :: new ( ) ) ,
1208- None ,
1209- ) ;
1185+ let engine = DefaultEngine :: new ( store. clone ( ) , Arc :: new ( TokioBackgroundExecutor :: new ( ) ) ) ;
12101186
12111187 add_checkpoint_to_store (
12121188 & store,
@@ -1249,11 +1225,7 @@ fn test_create_checkpoint_stream_reads_parquet_checkpoint_batch_without_sidecars
12491225#[ test]
12501226fn test_create_checkpoint_stream_reads_json_checkpoint_batch_without_sidecars ( ) -> DeltaResult < ( ) > {
12511227 let ( store, log_root) = new_in_memory_store ( ) ;
1252- let engine = DefaultEngine :: new (
1253- store. clone ( ) ,
1254- Arc :: new ( TokioBackgroundExecutor :: new ( ) ) ,
1255- None ,
1256- ) ;
1228+ let engine = DefaultEngine :: new ( store. clone ( ) , Arc :: new ( TokioBackgroundExecutor :: new ( ) ) ) ;
12571229
12581230 let filename = "00000000000000000010.checkpoint.80a083e8-7026-4e79-81be-64bd76c43a11.json" ;
12591231
@@ -1311,11 +1283,7 @@ fn test_create_checkpoint_stream_reads_json_checkpoint_batch_without_sidecars()
13111283fn test_create_checkpoint_stream_reads_checkpoint_file_and_returns_sidecar_batches (
13121284) -> DeltaResult < ( ) > {
13131285 let ( store, log_root) = new_in_memory_store ( ) ;
1314- let engine = DefaultEngine :: new (
1315- store. clone ( ) ,
1316- Arc :: new ( TokioBackgroundExecutor :: new ( ) ) ,
1317- None ,
1318- ) ;
1286+ let engine = DefaultEngine :: new ( store. clone ( ) , Arc :: new ( TokioBackgroundExecutor :: new ( ) ) ) ;
13191287
13201288 add_checkpoint_to_store (
13211289 & store,
0 commit comments