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


##########
docs/querying/sql.md:
##########
@@ -398,6 +398,17 @@ at execution time. To use dynamic parameters, replace any 
literal in the query w
 corresponding parameter value when you execute the query. Parameters are bound 
to the placeholders in the order in
 which they are passed. Parameters are supported in both the [HTTP 
POST](../api-reference/sql-api.md) and [JDBC](../api-reference/sql-jdbc.md) 
APIs.
 
+Druid supports double and null values in arrays for dynamic queries. For 
example:

Review Comment:
   It could help to introduce the example in terms of what it does (I had to 
double check against the ARRAY_CONTAINS 
[description](https://druid.apache.org/docs/latest/querying/sql-array-functions)).
 This is my interpretation, but I'm not sure if this is correct:
   
   The query returns `doubleArrayColumn` when the reference array `[-25.7, 
null, 36.85]` contains all elements of the value of `doubleArrayColumn`.



-- 
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: commits-unsubscr...@druid.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to