cloud-fan commented on code in PR #37407:
URL: https://github.com/apache/spark/pull/37407#discussion_r980960360


##########
sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala:
##########
@@ -2118,6 +2127,16 @@ class Dataset[T] private[sql](
       valueColumnName: String): DataFrame =
     unpivot(ids.toArray, values.toArray, variableColumnName, valueColumnName)
 
+  /**
+   * Called from Python as Seq[Column] are easier to create via py4j than 
Array[Column].
+   * We use Array[Column] for unpivot rather than Seq[Column] as those are 
Java-friendly.
+   */
+  private[sql] def unpivotWithSeq(

Review Comment:
   This method is not used.



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