ccxxxyy commented on PR #38074: URL: https://github.com/apache/shardingsphere/pull/38074#issuecomment-3915632822
Regarding **UNSET** and **VARIABLE**, [Doris ](https://doris.apache.org/docs/4.x/sql-manual/basic-element/reserved-keywords) does not treat them as reserved keywords. Therefore, I have added them to `identifierKeywordsUnambiguous` in `BaseRule.g4`, so that they can be used in places where identifiers are expected. My reasoning is as follows: The identifier usage chain is: tableName → name → identifier columnName → identifier and `identifier` includes `identifierKeywordsUnambiguous`. This means that these keywords can be used as identifiers, such as table names, column names, and database names, without requiring quotation marks. -- 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]
