Github user rxin commented on a diff in the pull request:
https://github.com/apache/spark/pull/15567#discussion_r84335141
--- 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 --
hmmm this is behavior changing, and there is some value to the old
partition 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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]