amaliujia commented on code in PR #38318:
URL: https://github.com/apache/spark/pull/38318#discussion_r1017138563
##########
connector/connect/src/main/protobuf/spark/connect/relations.proto:
##########
@@ -246,3 +248,20 @@ message SubqueryAlias {
// Optional. Qualifier of the alias.
repeated string qualifier = 3;
}
+
+// StatFunction
+message StatFunction {
+ // Required. The input relation.
+ Relation input = 1;
+ // Required. The function and its parameters.
+ oneof function {
+ Summary summary = 2;
+
+ Unknown unknown = 999;
Review Comment:
Question: will we add new functions under this `oneof`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]