clintropolis commented on code in PR #15531:
URL: https://github.com/apache/druid/pull/15531#discussion_r1423167968


##########
docs/querying/math-expr.md:
##########
@@ -192,7 +192,7 @@ See javadoc of java.lang.Math for detailed explanation for 
each function.
 | array_set_add_all(arr1,arr2) | combines the unique set of elements of 2 
arrays, the resulting array type determined by the type of the first array |
 | array_slice(arr,start,end) | return the subarray of arr from the 0 based 
index start(inclusive) to end(exclusive), or `null`, if start is less than 0, 
greater than length of arr or less than end|
 | array_to_string(arr,str) | joins all elements of arr by the delimiter 
specified by str |
-| string_to_array(str1,str2) | splits str1 into an array on the delimiter 
specified by str2 |
+| string_to_array(str1,str2) | splits str1 into an array on the delimiter 
specified by str2, which is a regular expression |

Review Comment:
   it just 
[calls](https://github.com/apache/druid/blob/master/processing/src/main/java/org/apache/druid/math/expr/Function.java#L3436)
 
[string.split](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html#split(java.lang.String))
 so is always a regex



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