zhengruifeng commented on code in PR #38475:
URL: https://github.com/apache/spark/pull/38475#discussion_r1011300086
##########
connector/connect/src/main/protobuf/spark/connect/relations.proto:
##########
@@ -250,3 +251,15 @@ message SubqueryAlias {
// Optional. Qualifier of the alias.
repeated string qualifier = 3;
}
+
+// Rename columns on the input relation.
+message RenameColumns {
Review Comment:
i am afraid we have to add a logical for nearly each df API, even for simple
functions like `toDF` ( as well as `withColumn`,
[`dropDuplicates`](https://github.com/apache/spark/commit/b14da8b1b65d9f00f49fab87f738715089bc43e8))
which depend on analyzed plan.
--
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]