Github user yhuai commented on a diff in the pull request:

    https://github.com/apache/spark/pull/10524#discussion_r48912564
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/MonotonicallyIncreasingID.scala
 ---
    @@ -33,12 +33,12 @@ import org.apache.spark.sql.types.{LongType, DataType}
      * Since this expression is stateful, it cannot be a case object.
      */
     @ExpressionDescription(
    -  usage =
    -    """_FUNC_() - Returns monotonically increasing 64-bit integers.
    -      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 lower 33 bits
    -      represent the record number within each partition. The assumption is 
that the data frame has
    -      less than 1 billion partitions, and each partition has less than 8 
billion records.""",
    +  usage = """_FUNC_() - Returns monotonically increasing 64-bit integers.
    +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 lower 33 bits represent the record number within each 
partition.
    +The assumption is that the data frame has less than 1 billion partitions,
    +and each partition has less than 8 billion records.""",
    --- End diff --
    
    Should we keep this unchanged? The indentation looks weird. 


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

Reply via email to