We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23c5fdf commit 364aa77Copy full SHA for 364aa77
native/core/src/execution/planner.rs
@@ -556,12 +556,12 @@ impl PhysicalPlanner {
556
)))
557
}
558
ExprStruct::ScalarFunc(expr) => {
559
- let func = self.create_scalar_function_expr(expr, input_schema)?;
+ let func = self.create_scalar_function_expr(expr, input_schema);
560
match expr.func.as_ref() {
561
// DataFusion map_extract returns array of struct entries even if lookup by key
562
// Apache Spark waits a single value, so wrap the result into additional list extraction
563
"map_extract" => Ok(Arc::new(ListExtract::new(
564
- func,
+ func?,
565
Arc::new(Literal::new(ScalarValue::Int32(Some(1)))),
566
None,
567
true,
0 commit comments