[ 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org