Max Gekk created SPARK-52042:
--------------------------------
Summary: Missed TIME in the error of supported typed literals
Key: SPARK-52042
URL: https://issues.apache.org/jira/browse/SPARK-52042
Project: Spark
Issue Type: Sub-task
Components: SQL
Affects Versions: 4.1.0
Reporter: Max Gekk
Assignee: Max Gekk
The error message missed the TIME typed literals as they have been already
supported. The example below portraits the issue:
{code:sql}
[UNSUPPORTED_TYPED_LITERAL] Literals of the type "LOCALTIME" are not supported.
Supported types are "DATE", "TIMESTAMP_NTZ", "TIMESTAMP_LTZ", "TIMESTAMP",
"INTERVAL", "X". SQLSTATE: 0A000
== SQL (line 1, position 8) ==
SELECT localtime'12:30:41'
^^^^^^^^^^^^^^^^^^^
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]