vtlim commented on code in PR #16843: URL: https://github.com/apache/druid/pull/16843#discussion_r1711797447
########## docs/querying/sql.md: ########## @@ -423,3 +423,12 @@ SELECT count(city) from druid.table where SCALAR_IN_ARRAY(city, ?) ``` sample java code using dynamic parameters is provided [here](../api-reference/sql-jdbc.md#dynamic-parameters). + +## 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: + +* **CLUSTERED** +* **PARTITIONED** Review Comment: Could you add a short example of a query that uses the reserved keywords in 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
