[ 
https://issues.apache.org/jira/browse/SPARK-33658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyukjin Kwon resolved SPARK-33658.
----------------------------------
    Fix Version/s: 3.1.0
       Resolution: Fixed

Issue resolved by pull request 30603
[https://github.com/apache/spark/pull/30603]

> Suggest using datetime conversion functions for invalid ANSI casting
> --------------------------------------------------------------------
>
>                 Key: SPARK-33658
>                 URL: https://issues.apache.org/jira/browse/SPARK-33658
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Gengliang Wang
>            Assignee: Gengliang Wang
>            Priority: Major
>             Fix For: 3.1.0
>
>
> In ANSI mode, explicit cast between DateTime types and Numeric types is not 
> allowed.
> As of now, we have introduced new functions 
> UNIX_SECONDS/UNIX_MILLIS/UNIX_MICROS/UNIX_DATE/DATE_FROM_UNIX_DATE, we can 
> show suggestions to users so that they can complete these type conversions 
> precisely and easily in ANSI mode.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to