Github user mortada commented on a diff in the pull request:
https://github.com/apache/spark/pull/15053#discussion_r80405104
--- Diff: python/pyspark/sql/functions.py ---
@@ -411,7 +415,7 @@ def monotonically_increasing_id():
The generated ID is guaranteed to be monotonically increasing and
unique, but not consecutive.
The current implementation puts the partition ID in the upper 31 bits,
and the record number
- within each partition in the lower 33 bits. The assumption is that the
data frame has
+ within each partition in the lower 33 bits. The assumption is that the
DataFrame has
--- End diff --
@HyukjinKwon great idea, will update
---
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]