You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/06/01 15:37:00 UTC

[jira] [Assigned] (SPARK-39355) UnresolvedAttribute should only use CatalystSqlParser if name contains dot

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

Apache Spark reassigned SPARK-39355:
------------------------------------

    Assignee: Apache Spark

> UnresolvedAttribute should only use CatalystSqlParser if name contains dot
> --------------------------------------------------------------------------
>
>                 Key: SPARK-39355
>                 URL: https://issues.apache.org/jira/browse/SPARK-39355
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: dzcxzl
>            Assignee: Apache Spark
>            Priority: Trivial
>
>  
> {code:java}
> select * from (select '2022-06-01' as c1 ) a where c1 in (select date_add('2022-06-01',0)); {code}
> {code:java}
> Error in query:
> mismatched input '(' expecting {<EOF>, '.', '-'}(line 1, pos 8)
> == SQL ==
> date_add(2022-06-01, 0)
> --------^^^ {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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