RaigorJiang opened a new pull request, #38687:
URL: https://github.com/apache/shardingsphere/pull/38687

   ### Summary:
   
     This PR introduces a dedicated distSQLIdentifier rule for DistSQL metadata 
commands, so SHOW TABLE METADATA and REFRESH TABLE METADATA can accept bare 
identifiers, backtick-quoted
     identifiers, and double-quoted identifiers, while single quotes remain 
string literals and are no longer treated as object names.
   
   ### What changed:
   
     - Updated the DistSQL grammar to use distSQLIdentifier for table, 
database, schema, and storage unit name positions.
     - Switched the statement and executor flow to carry IdentifierValue where 
quoted name semantics must be preserved.
     - Added parser IT coverage that verifies both the identifier value and its 
quote delimiters.
     - Updated the SHOW/REFRESH TABLE METADATA documentation in English and 
Chinese to match the new syntax and examples.
   
   ### Impact:
   
     - PostgreSQL uppercase and lowercase table names are handled correctly 
when quoted.
     - MySQL uppercase and lowercase table names are handled correctly when 
quoted.
     - The parser no longer accepts single-quoted strings as table or schema 
identifiers for these commands.
     - The change is scoped to DistSQL metadata commands and does not affect 
unrelated SQL syntax.


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