You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "ClaireLytt (via GitHub)" <gi...@apache.org> on 2026/02/25 09:32:57 UTC

Re: [I] MySQL BaseRule.g4 file contains reserve words in identifierUnambiguousKeywords [shardingsphere]

ClaireLytt commented on issue #34890:
URL: https://github.com/apache/shardingsphere/issues/34890#issuecomment-3957960511

   Hi @Yash-cor 
   This issue is similar to https://github.com/apache/shardingsphere/issues/25488
   
   case1: use rank as column name
   select id as rank from t   -> failed in mysql
   
   case2:select id as `rank` from t -> successfully executed in mysql
   
   case 3:use tablename.rank
   SELECT dept.rank, employee.rank
   FROM dept
   JOIN employee ON dept.id = employee.dept_id; -> successfully executed in mysql
   
   In conculsion,I think it is unnecessary to remove the words you mentioned in rule `unreservedWord`


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org