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


##########
sql/connect/common/src/main/scala/org/apache/spark/sql/connect/Dataset.scala:
##########
@@ -703,6 +703,11 @@ class Dataset[T] private[sql] (
     }
   }
 
+  /** @inheritdoc */
+  def zipWithIndex(indexColName: String): DataFrame = {
+    select(col("*"), 
Column.internalFn("distributed_sequence_id").alias(indexColName))

Review Comment:
   can we put the implementation in the base class? It seems to be the same 
between connect and classic.



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