Skip to content

Commit 364aa77

Browse files
committed
fmt
1 parent 23c5fdf commit 364aa77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

native/core/src/execution/planner.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,12 +556,12 @@ impl PhysicalPlanner {
556556
)))
557557
}
558558
ExprStruct::ScalarFunc(expr) => {
559-
let func = self.create_scalar_function_expr(expr, input_schema)?;
559+
let func = self.create_scalar_function_expr(expr, input_schema);
560560
match expr.func.as_ref() {
561561
// DataFusion map_extract returns array of struct entries even if lookup by key
562562
// Apache Spark waits a single value, so wrap the result into additional list extraction
563563
"map_extract" => Ok(Arc::new(ListExtract::new(
564-
func,
564+
func?,
565565
Arc::new(Literal::new(ScalarValue::Int32(Some(1)))),
566566
None,
567567
true,

0 commit comments

Comments
 (0)