[
https://issues.apache.org/jira/browse/SPARK-49757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenchen Fan resolved SPARK-49757.
---------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Issue resolved by pull request 48228
[https://github.com/apache/spark/pull/48228]
> SET CATALOG syntax doesn't support IDENTIFIER
> ----------------------------------------------
>
> Key: SPARK-49757
> URL: https://issues.apache.org/jira/browse/SPARK-49757
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 4.0.0
> Reporter: Mikhail Nikoliukin
> Assignee: Mikhail Nikoliukin
> Priority: Minor
> Labels: pull-request-available
> Fix For: 4.0.0
>
>
> Since IDENTIFIER clause was added a lot of gaps remain. One of them is SET
> CATALOG syntax added in https://issues.apache.org/jira/browse/SPARK-36841
> Now {{SET CATALOG IDENTIFIER('test')}} will fall with
> {code:java}
> [INVALID_SET_SYNTAX] Expected format is 'SET', 'SET key', or 'SET
> key=value'...{code}
> Parser can't match {{SET CATALOG}} with an identifier but can match next
> "setConfiguration" grammar, what makes the error even more confusing.
> It would be nice to support identifier in this context as well.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]