Skip to content

Conversation

@HyukjinKwon
Copy link
Member

What changes were proposed in this pull request?

It seems the function monotonicallyIncreasingId was missed in https://issues.apache.org/jira/browse/SPARK-10621

The registered name is monotonically_increasing_id but monotonicallyIncreasingId was still not deprecated and removed.

So, this was also missed in https://issues.apache.org/jira/browse/SPARK-12600 (removing deprecated APIs).

How was this patch tested?

N/A

@HyukjinKwon
Copy link
Member Author

FYI, there is one more usage in ColumnExpressionSuite.scala#L517 which is dedicated test for this one.

@HyukjinKwon
Copy link
Member Author

cc @rxin

@SparkQA
Copy link

SparkQA commented Jul 17, 2016

Test build #62427 has finished for PR 14236 at commit d947be6.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

* @deprecated As of 2.0.0, replaced by `monotonically_increasing_id`. This will be removed in
* Spark 2.1.
*/
@deprecated("Use monotonically_increasing_id. This will be removed in Spark 2.1.", "2.0.0")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we probably don't want to remove it in 2.1. can you just say "Use monotonically_increasing_id()"

@rxin
Copy link
Contributor

rxin commented Jul 18, 2016

Since it is a small change I will just push a commit myself. Thanks for noticing it.

@HyukjinKwon
Copy link
Member Author

@rxin Sure, Thank you very much.

asfgit pushed a commit that referenced this pull request Jul 18, 2016
This patch deprecates monotonicallyIncreasingId in Scala/Java, as done in Python.

This patch was originally written by HyukjinKwon. Closes #14236.

(cherry picked from commit 480c870)
Signed-off-by: Reynold Xin <[email protected]>
@asfgit asfgit closed this in 480c870 Jul 18, 2016
@HyukjinKwon HyukjinKwon deleted the SPARK-16588 branch January 2, 2018 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants