asdf2014 commented on code in PR #17293:
URL: https://github.com/apache/druid/pull/17293#discussion_r1794476827
##########
docs/querying/sql-functions.md:
##########
@@ -1664,11 +3266,32 @@ For more information, see [UNNEST](./sql.md#unnest).
## UPPER
-`UPPER(expr)`
+Returns the expression in uppercase.
-**Function type:** [Scalar, string](sql-scalar.md#string-functions)
+* **Syntax:** `UPPER(expr)`
+* **Function type:** Scalar, string
-Returns the expression in uppercase.
+<details><summary>Example</summary>
+
+The following example converts the `OriginCityName` column from the
`flight-carriers` datasource to uppercase.
+
+```sql
+SELECT
+ "OriginCityName" AS "origin_city",
+ UPPER("OriginCityName") AS "uppercase"
+FROM "flight-carriers"
+LIMIT 1
+```
+
+Returns the following:
+
+| `origin_city` | `uppercase` |
+| -- | -- |
+`San Juan, PR` | `SAN JUAN, PR` |
Review Comment:
```suggestion
| `San Juan, PR` | `SAN JUAN, PR` |
```
--
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]