Skip to content

Commit daa1eb7

Browse files
committed
Deprecate functions
1 parent c4a4a93 commit daa1eb7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

sql/core/src/main/scala/org/apache/spark/sql/functions.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2988,6 +2988,7 @@ object functions {
29882988
* @group datetime_funcs
29892989
* @since 1.5.0
29902990
*/
2991+
@deprecated("This function is deprecated and will be removed in future versions.", "3.0.0")
29912992
def from_utc_timestamp(ts: Column, tz: String): Column = withExpr {
29922993
FromUTCTimestamp(ts.expr, Literal(tz))
29932994
}
@@ -2999,6 +3000,7 @@ object functions {
29993000
* @group datetime_funcs
30003001
* @since 2.4.0
30013002
*/
3003+
@deprecated("This function is deprecated and will be removed in future versions.", "3.0.0")
30023004
def from_utc_timestamp(ts: Column, tz: Column): Column = withExpr {
30033005
FromUTCTimestamp(ts.expr, tz.expr)
30043006
}
@@ -3017,6 +3019,7 @@ object functions {
30173019
* @group datetime_funcs
30183020
* @since 1.5.0
30193021
*/
3022+
@deprecated("This function is deprecated and will be removed in future versions.", "3.0.0")
30203023
def to_utc_timestamp(ts: Column, tz: String): Column = withExpr {
30213024
ToUTCTimestamp(ts.expr, Literal(tz))
30223025
}
@@ -3028,6 +3031,7 @@ object functions {
30283031
* @group datetime_funcs
30293032
* @since 2.4.0
30303033
*/
3034+
@deprecated("This function is deprecated and will be removed in future versions.", "3.0.0")
30313035
def to_utc_timestamp(ts: Column, tz: Column): Column = withExpr {
30323036
ToUTCTimestamp(ts.expr, tz.expr)
30333037
}

0 commit comments

Comments
 (0)