Reynold Xin created SPARK-8003:
----------------------------------
Summary: Support PARTITION__ID in SQL
Key: SPARK-8003
URL: https://issues.apache.org/jira/browse/SPARK-8003
Project: Spark
Issue Type: Sub-task
Components: SQL
Reporter: Reynold Xin
PARTITION__ID column should return the partition index of the Spark partition.
Note that we already have a DataFrame function for it:
https://github.com/apache/spark/blob/78a6723e8758b429f877166973cc4f1bbfce73c4/sql/core/src/main/scala/org/apache/spark/sql/functions.scala#L705
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]