[
https://issues.apache.org/jira/browse/SPARK-49757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mikhail Nikoliukin updated SPARK-49757:
---------------------------------------
Description:
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 identifier but can match next "setConfiguration" grammar,
what makes error even more confusing.
It would be nice to support identifier in this context as well.
was:
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 identifier bat can match next "setConfiguration"
grammar, what makes error even more confusing.
It would be nice to support identifier in this context as well.
> 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
> Priority: Minor
>
> 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 identifier but can match next "setConfiguration" grammar,
> what makes 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]