Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
4.0.0
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
[INVALID_SET_SYNTAX] Expected format is 'SET', 'SET key', or 'SET key=value'...
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.
Attachments
Issue Links
- links to