allisonwang-db commented on code in PR #41989:
URL: https://github.com/apache/spark/pull/41989#discussion_r1264194640


##########
connector/connect/common/src/main/protobuf/spark/connect/relations.proto:
##########
@@ -941,6 +942,36 @@ message ApplyInPandasWithState {
   string timeout_conf = 7;
 }
 
+message CommonInlineUserDefinedTableFunction {
+  // (Required) Name of the user-defined table function.
+  string function_name = 1;
+
+  // (Optional) Whether the user-defined table function is deterministic.
+  bool deterministic = 2;
+
+  // (Optional) Function input arguments. Empty arguments are allowed.
+  repeated Expression arguments = 3;
+
+  // (Required) Type of the user-defined table function.
+  oneof function {
+    PythonUDTF python_udtf = 4;

Review Comment:
   Currently only Python but more UDTFs might be supported in the future.



-- 
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]

Reply via email to