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

[jira] [Updated] (SPARK-39355) Single column uses quoted to construct UnresolvedAttribute

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

dzcxzl updated SPARK-39355:
---------------------------
    Summary: Single column uses quoted to construct UnresolvedAttribute  (was: Avoid UnresolvedAttribute.apply throwing ParseException)

> Single column uses quoted to construct UnresolvedAttribute
> ----------------------------------------------------------
>
>                 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org