Github user rxin commented on a diff in the pull request:
https://github.com/apache/spark/pull/5709#discussion_r29116363
--- Diff: python/pyspark/sql/functions.py ---
@@ -103,8 +103,28 @@ def countDistinct(col, *cols):
return Column(jc)
+def monotonicallyIncreasingId():
+ """A column that generates monotonically increasing 64-bit integers.
+
+ The generated ID is guaranteed by be monotonically increasing and
unique, but not consecutive.
--- End diff --
guaranteed TO be
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]