zhengruifeng commented on code in PR #39084:
URL: https://github.com/apache/spark/pull/39084#discussion_r1050611172


##########
connector/connect/common/src/main/protobuf/spark/connect/relations.proto:
##########
@@ -601,3 +602,19 @@ message Unpivot {
   // (Required) Name of the value column.
   string value_column_name = 5;
 }
+
+message ToSchema {
+  // (Required) The input relation.
+  Relation input = 1;
+
+  // (Required) The user provided schema.
+  //
+  // The Sever side will update the dataframe with this schema.
+  oneof schema {

Review Comment:
   not related to this PR, I am wondering whether we can unify the schema with 
String Literal (DDL or JSON)



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