FrankChen021 opened a new pull request, #19719: URL: https://github.com/apache/druid/pull/19719
## Summary - Detect reserved Calcite tokens in Druid SQL parse errors. - Tell users how to quote the token as a Druid identifier. - Add coverage for SELECT start FROM sys."segments" LIMIT 1. ## Root cause Calcite rejects reserved tokens during parsing, before Druid can resolve them as columns or datasources. Its generic error listed a large set of parser alternatives without explaining the identifier-quoting remedy. ## User impact Users with a column or datasource whose name is a reserved keyword receive a concise, actionable error that includes the quoted identifier form. ## Validation - mvn -pl sql checkstyle:check - Focused DruidSqlParserTest not run locally: this branch requires Java 25 and the available compiler is Java 21. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
