Skip to content

Apache DataFusion SQL Query Engine

Minor: add ticket reference and fmt (#11805)

Andrew Lamb1d3bdbe14fd0
diff --git a/datafusion/proto/src/physical_plan/mod.rs b/datafusion/proto/src/physical_plan/mod.rs
index fbb9e44298..aefa1d87a2 100644
--- a/datafusion/proto/src/physical_plan/mod.rs
+++ b/datafusion/proto/src/physical_plan/mod.rs
@@ -489,7 +489,13 @@ impl AsExecutionPlan for protobuf::PhysicalPlanNode {
// TODO: approx_percentile_cont and approx_percentile_cont_weight are not supported for UDAF from protobuf yet.
// TODO: `order by` is not supported for UDAF yet
- AggregateExprBuilder::new(agg_udf, input_phy_expr).schema(Arc::clone(&physical_schema)).name(name).with_ignore_nulls(agg_node.ignore_nulls).with_distinct(agg_node.distinct).build()
+ // https://github.com/apache/datafusion/issues/11804
+ AggregateExprBuilder::new(agg_udf, input_phy_expr)
+ .schema(Arc::clone(&physical_schema))
+ .name(name)
+ .with_ignore_nulls(agg_node.ignore_nulls)
+ .with_distinct(agg_node.distinct)
+ .build()
}
}
}).transpose()?.ok_or_else(|| {