vtlim commented on code in PR #16843:
URL: https://github.com/apache/druid/pull/16843#discussion_r1715658065


##########
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
   SELECT "PARTITIONED" from druid.table
   ```
   Matches the sentence above



-- 
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]

Reply via email to