follow up question, is there a fn that will return...
# getting-started
a
follow up question, is there a fn that will return what array position a string is in? so for multi-value string column, if I search for a string the ends up being the third value in the array, I would like it to return 3 (or 2 if start from 0)
k
Copy code
arrayIndexOfString
a
you're quick!
thanks!
k
Copy code
<https://github.com/apache/pinot/blob/master/pinot-common/src/main/java/org/apache/pinot/common/function/scalar/ArrayFunctions.java>
a
beautiful, you figured you'd save yourself me asking another question in 5 minutes? 🙂
thanks again
👍 1