vtlim commented on code in PR #16843: URL: https://github.com/apache/druid/pull/16843#discussion_r1715658760
########## website/.spelling: ########## @@ -324,6 +324,7 @@ deserializes downtimes druid druid–kubernetes-extensions +druid.table Review Comment: Did it fail the spell check? If not, I don't think you'd need to add it since the spell check shouldn't run inside code blocks. ########## docs/querying/sql.md: ########## @@ -426,9 +426,14 @@ sample java code using dynamic parameters is provided [here](../api-reference/sq ## Reserved keywords -There are reserved keywords in Apache Druid. To use reserved keywords in queries, enclose them in quote marks. - -Apache Druid inherits all of the reserved keywords from [Apache Calcite](https://calcite.apache.org/docs/reference.html#keywords). In addition to these the following keywords are unique to Apache Druid: +Druid SQL reserves certain keywords which are used in its query language. Apache Druid inherits all of the reserved keywords from [Apache Calcite](https://calcite.apache.org/docs/reference.html#keywords). In addition to these, the following reserved keywords are unique to Apache Druid: ``` * **CLUSTERED** * **PARTITIONED** + +To use the reserved keywords in queries, enclose them in double quotation marks. For example, the reserved keyword **PARTITIONED** can be used in a query if and only if it is correctly quoted: + +```sql +SELECT "CLUSTERED" from druid.table + Review Comment: ```suggestion ``` -- 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]
