Mikhail Nikoliukin created SPARK-49757:
------------------------------------------

             Summary: 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


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 
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.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to