Join Slack
Powered by
Hi folks, is the a function in Pinot which allows ...
# troubleshooting
n
Nikhil Sulegaon
03/21/2025, 9:19 PM
Hi folks, is the a function in Pinot which allows me to get an item given an index from an MV column? I could not find anything in the docs or in OS repo.
Nikhil Sulegaon
03/21/2025, 9:19 PM
@Mayank
or
@Xiang Fu
do you know?
m
Mayank
03/21/2025, 9:28 PM
I think there's arrayElementAt<Type>?
Mayank
03/21/2025, 9:29 PM
For example:
https://github.com/apache/pinot/blob/6bbd5ddf86a300c9aeb94aca5a29fdf13e62bfc8/pino[…]ava/org/apache/pinot/common/function/scalar/ArrayFunctions.java
n
Nikhil Sulegaon
03/21/2025, 9:40 PM
Ah perfect! Thanks!
x
Xiang Fu
03/21/2025, 10:48 PM
https://docs.pinot.apache.org/users/user-guide-query/query-syntax/array-functions
Open in Slack
Previous
Next