You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Max Gekk (Jira)" <ji...@apache.org> on 2025/05/09 07:39:00 UTC

[jira] [Resolved] (SPARK-52042) Missed TIME in the error of supported typed literals

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

Max Gekk resolved SPARK-52042.
------------------------------
    Fix Version/s: 4.1.0
       Resolution: Fixed

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

> 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
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.1.0
>
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org