-
Notifications
You must be signed in to change notification settings - Fork 28.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "[SPARK-25496][SQL] Deprecate from_utc_timestamp and to_utc_timestamp" #27351
Conversation
…mestamp" This reverts commit 1d20d13.
@@ -1,113 +0,0 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests are moved by #26885
cc @MaxGekk and @cloud-fan |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM. Pending Jenkins. (This is a non-trivial clean revert which is related to multiple PRs. Most parts are the same the other adapted parts including StreamingaggregationSuite look good.)
Thank you, @gatorsmile .
Thanks! @dongjoon-hyun Both Hive and Impala have such functions. We should simplify the migration by introducing the needed functions if we decide to drop/deprecate the existing functions. Adding a conf is not enough in such cases. I think we should introduce more time/timestamp related built-in functions in the future. Processing date and timestamp is a common task in the data processing/cleaning/analysis. We have to be more careful when introducing a behavior breaking change. |
Test build #117342 has finished for PR 27351 at commit
|
Test build #117336 has finished for PR 27351 at commit
|
Retest this please. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am good with this way too since code freeze is close.
I think #24195 (comment) can be an option too.
Test build #117344 has finished for PR 27351 at commit
|
Ping @MaxGekk and @cloud-fan once more since he is the original author and committer. |
@gatorsmile I do understand importance of backward compatibility but:
As summary, I cannot agree with reverting the changes. I would update docs and place a link to the docs into the exception message, and update expression description as well. |
I'll merge this. We can deprecate later in two releases. |
Yeah, I think it's fine to revert it for now as it becomes pretty controversial. @MaxGekk I think we can open new PR as guided. Probably we should clearly document the alternatives. |
This reverts commit 1d20d13.