cloud-fan commented on code in PR #47884:
URL: https://github.com/apache/spark/pull/47884#discussion_r1743762965
##########
sql/connect/common/src/main/protobuf/spark/connect/relations.proto:
##########
@@ -889,6 +890,18 @@ message Unpivot {
}
}
+// Transpose a DataFrame, switching rows to columns.
+// Transforms the DataFrame such that the values in the specified index column
+// become the new columns of the DataFrame.
+message Transpose {
+ // (Required) The input relation.
+ Relation input = 1;
+
+ // (Optional) A list of columns that will be treated as the indices.
+ // Only single column is supported now.
+ repeated Expression index_columns = 2;
Review Comment:
Do we have a dedicated proto message for attribute?
--
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]