Revert "[SPARK-25496][SQL] Deprecate from_utc_timestamp and to_utc_timestamp"#27351
Revert "[SPARK-25496][SQL] Deprecate from_utc_timestamp and to_utc_timestamp"#27351gatorsmile wants to merge 2 commits into
Conversation
…mestamp" This reverts commit 1d20d13.
| @@ -1,113 +0,0 @@ | |||
| /* | |||
|
cc @MaxGekk and @cloud-fan |
There was a problem hiding this comment.
+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. |
HyukjinKwon
left a comment
There was a problem hiding this comment.
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.