Skip to content

Commit 118327c

Browse files
authored
optimise clone function maps (#1352)
1 parent ec4a720 commit 118327c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ballista/core/src/serde/scheduler/from_proto.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -334,9 +334,9 @@ pub fn get_task_definition<T: 'static + AsLogicalPlan, U: 'static + AsExecutionP
334334
None,
335335
task.session_id.clone(),
336336
session_config.clone(),
337-
scalar_functions.clone(),
338-
aggregate_functions.clone(),
339-
window_functions.clone(),
337+
scalar_functions,
338+
aggregate_functions,
339+
window_functions,
340340
runtime.clone(),
341341
);
342342

@@ -394,9 +394,9 @@ pub fn get_task_definition_vec<
394394
None,
395395
uuid::Uuid::new_v4().to_string(),
396396
session_config.clone(),
397-
scalar_functions.clone(),
398-
aggregate_functions.clone(),
399-
window_functions.clone(),
397+
scalar_functions,
398+
aggregate_functions,
399+
window_functions,
400400
runtime.clone(),
401401
);
402402

0 commit comments

Comments
 (0)