https://pinot.apache.org/ logo
#getting-started
Title
# getting-started
a

Aaron Weiss

03/14/2022, 7:37 PM
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

Kishore G

03/14/2022, 7:37 PM
Copy code
arrayIndexOfString
a

Aaron Weiss

03/14/2022, 7:37 PM
you're quick!
thanks!
k

Kishore G

03/14/2022, 7:38 PM
Copy code
<https://github.com/apache/pinot/blob/master/pinot-common/src/main/java/org/apache/pinot/common/function/scalar/ArrayFunctions.java>
a

Aaron Weiss

03/14/2022, 7:38 PM
beautiful, you figured you'd save yourself me asking another question in 5 minutes? 🙂
thanks again
👍 1