Skip to content

Commit aca7b83

Browse files
committed
Fix conflicts
1 parent 31c0e3c commit aca7b83

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/plan/codec.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ mod tests {
177177

178178
let schema = schema_i32("a");
179179
let part = Partitioning::Hash(vec![Arc::new(Column::new("a", 0))], 4);
180-
let plan: Arc<dyn ExecutionPlan> = Arc::new(ArrowFlightReadExec::new(part, schema, 0));
180+
let plan: Arc<dyn ExecutionPlan> =
181+
Arc::new(ArrowFlightReadExec::new_ready(part, schema, 0));
181182

182183
let mut buf = Vec::new();
183184
codec.try_encode(plan.clone(), &mut buf)?;
@@ -194,7 +195,7 @@ mod tests {
194195
let registry = MemoryFunctionRegistry::new();
195196

196197
let schema = schema_i32("b");
197-
let flight = Arc::new(ArrowFlightReadExec::new(
198+
let flight = Arc::new(ArrowFlightReadExec::new_ready(
198199
Partitioning::UnknownPartitioning(1),
199200
schema,
200201
0,
@@ -217,12 +218,12 @@ mod tests {
217218
let registry = MemoryFunctionRegistry::new();
218219

219220
let schema = schema_i32("c");
220-
let left = Arc::new(ArrowFlightReadExec::new(
221+
let left = Arc::new(ArrowFlightReadExec::new_ready(
221222
Partitioning::RoundRobinBatch(2),
222223
schema.clone(),
223224
0,
224225
));
225-
let right = Arc::new(ArrowFlightReadExec::new(
226+
let right = Arc::new(ArrowFlightReadExec::new_ready(
226227
Partitioning::RoundRobinBatch(2),
227228
schema.clone(),
228229
1,
@@ -246,7 +247,7 @@ mod tests {
246247
let registry = MemoryFunctionRegistry::new();
247248

248249
let schema = schema_i32("d");
249-
let flight = Arc::new(ArrowFlightReadExec::new(
250+
let flight = Arc::new(ArrowFlightReadExec::new_ready(
250251
Partitioning::UnknownPartitioning(1),
251252
schema.clone(),
252253
0,

0 commit comments

Comments
 (0)