chl-wxp opened a new issue, #9973:
URL: https://github.com/apache/gravitino/issues/9973

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   If the catalog starts with a number when naming it, an error will be 
reported when using flinksql.
   
   ### Error message and/or stacktrace
   
   Flink SQL> USE CATALOG 104-test_mysql;
   [ERROR] Could not execute SQL statement. Reason:
   org.apache.flink.sql.parser.impl.ParseException: Encountered "104" at line 
1, column 13.
   Was expecting one of:
       <BRACKET_QUOTED_IDENTIFIER> ...
       <QUOTED_IDENTIFIER> ...
       <BACK_QUOTED_IDENTIFIER> ...
       <BIG_QUERY_BACK_QUOTED_IDENTIFIER> ...
       <HYPHENATED_IDENTIFIER> ...
       <IDENTIFIER> ...
       <UNICODE_QUOTED_IDENTIFIER> ...
   
   <img width="1396" height="334" alt="Image" 
src="https://github.com/user-attachments/assets/3f01e4f1-2c0c-4973-ba4c-e1fe84c665d0";
 />
   
   ### How to reproduce
   
   gravitino version:1.1.0
   flink version :1.18.1
   1. Create a mysql catalog named starting with a number, such as 
`123test_mysql`
   2. Execute `USE CATALOG 123test_mysql` in flinksql;
   
   ### Additional context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to