Gengliang Wang created SPARK-33658:
--------------------------------------
Summary: 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
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]