You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sharanabasappa G Keriwaddi (Jira)" <ji...@apache.org> on 2019/09/23 06:46:00 UTC

[jira] [Commented] (SPARK-29210) Spark 3.0 Migration guide should contain the details of to_utc_timestamp function and from_utc_timestamp

    [ https://issues.apache.org/jira/browse/SPARK-29210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16935577#comment-16935577 ] 

Sharanabasappa G Keriwaddi commented on SPARK-29210:
----------------------------------------------------

I will work on this

> Spark 3.0 Migration guide should contain the details of to_utc_timestamp function and from_utc_timestamp
> --------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-29210
>                 URL: https://issues.apache.org/jira/browse/SPARK-29210
>             Project: Spark
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 3.0.0
>            Reporter: ABHISHEK KUMAR GUPTA
>            Priority: Major
>
> to_utc_timestamp and from_utc_timestamp are deprecated in Spark 3.0. Details should be contain in Spark 3.0 Spark Migration guide.
>  
> 0: jdbc:hive2://10.18.19.208:23040/default> SELECT from_utc_timestamp('2016-08-31', 'Asia/Seoul');
> Error: org.apache.spark.sql.AnalysisException: The from_utc_timestamp function has been disabled since Spark 3.0.Set spark.sql.legacy.utcTimestampFunc.enabled to true to enable this function.;; line 1 pos 7 (state=,code=0)
> 0: jdbc:hive2://10.18.19.208:23040/default> SELECT to_utc_timestamp('2016-08-31', 'Asia/Seoul');
> Error: org.apache.spark.sql.AnalysisException: The to_utc_timestamp function has been disabled since Spark 3.0. Set spark.sql.legacy.utcTimestampFunc.enabled to true to enable this function.;; line 1 pos 7 (state=,code=0)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org