techdocsmith commented on code in PR #17654:
URL: https://github.com/apache/druid/pull/17654#discussion_r1931326441


##########
docs/querying/sql-json-functions.md:
##########
@@ -32,19 +32,19 @@ sidebar_label: "JSON functions"
 
 Druid supports nested columns, which provide optimized storage and indexes for 
nested data structures. See [Nested columns](./nested-columns.md) for more 
information.
 
-You can use the following JSON functions to extract, transform, and create 
`COMPLEX<json>` values.
+You can use the following JSON functions to extract, transform, and create 
`COMPLEX<json>` objects.
 
 | Function | Notes |
 | --- | --- |
 |`JSON_KEYS(expr, path)`| Returns an array of field names from `expr` at the 
specified `path`.|
-|`JSON_OBJECT(KEY expr1 VALUE expr2[, KEY expr3 VALUE expr4, ...])` | 
Constructs a new `COMPLEX<json>` object. The `KEY` expressions must evaluate to 
string types. The `VALUE` expressions can be composed of any input type, 
including other `COMPLEX<json>` values. `JSON_OBJECT` can accept 
colon-separated key-value pairs. The following syntax is equivalent: 
`JSON_OBJECT(expr1:expr2[, expr3:expr4, ...])`.|
-|`JSON_MERGE(expr1, expr2[, expr3 ...])`| Merges two or more JSON `STRING` or 
`COMPLEX<json>` into one. Preserves the rightmost value when there are key 
overlaps. Returning always a `COMPLEX<json>` type.|
+|`JSON_MERGE(expr1, expr2[, expr3 ...])`| Merges two or more JSON `STRING` or 
`COMPLEX<json>` into one, preserving the rightmost value when there are key 
overlaps. Always returns a `COMPLEX<json>` object.|

Review Comment:
   ```suggestion
   |`JSON_MERGE(expr1, expr2[, expr3 ...])`| Merges two or more JSON `STRING` 
or `COMPLEX<json>` values into one, preserving the rightmost value when there 
are key overlaps. Always returns a `COMPLEX<json>` object.|
   ```
   missing word



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