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

    https://github.com/apache/spark/pull/15567#discussion_r84339837
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/SparkPartitionID.scala
 ---
    @@ -17,16 +17,15 @@
     
     package org.apache.spark.sql.catalyst.expressions
     
    -import org.apache.spark.TaskContext
     import org.apache.spark.sql.catalyst.InternalRow
     import org.apache.spark.sql.catalyst.expressions.codegen.{CodegenContext, 
ExprCode}
     import org.apache.spark.sql.types.{DataType, IntegerType}
     
     /**
    - * Expression that returns the current partition id of the Spark task.
    + * Expression that returns the current partition id.
      */
     @ExpressionDescription(
    -  usage = "_FUNC_() - Returns the current partition id of the Spark task",
    +  usage = "_FUNC_() - Returns the current partition id",
    --- End diff --
    
    I thought about this. But I don't think the current behavior is the 
expected behavior from users. This is the same issue as in 
`monotonically_increasing_id`.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to