[
https://issues.apache.org/jira/browse/SPARK-39355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17544980#comment-17544980
]
Apache Spark commented on SPARK-39355:
--------------------------------------
User 'cxzl25' has created a pull request for this issue:
https://github.com/apache/spark/pull/36740
> 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
> 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: [email protected]
For additional commands, e-mail: [email protected]