These instructions apply to iotdb-core/relational-grammar/ and supplement the repository instructions.
nonReserved rule in the same change. Defining only the lexer token can make a previously valid unquoted database, table, column, or alias name stop parsing, because the identifier rule accepts these keyword tokens through nonReserved.nonReserved as a list of token alternatives only; do not add nested parser rules. The DataNode SQL parser's exitNonReserved implementation depends on this structure.nonReserved, or make an existing reserved word non-reserved merely to resolve a grammar conflict. Intentional reservation must be part of the SQL change's contract and covered by compatibility tests. This rule is about keyword tokens, not operators, punctuation, whitespace, fragments, or literals..g4 sources and regenerate through Maven; do not edit generated Java, .tokens, or .interp files. Rebuild the affected grammar and DataNode consumers and run the affected parser/identifier tests. Successful grammar generation alone does not establish identifier compatibility or correct AST construction.