saurabhd336 commented on PR #12532:
URL: https://github.com/apache/pinot/pull/12532#issuecomment-1984043919

   @wirybeaver I'm okay with https://github.com/apache/pinot/pull/12466, but we 
have a specific usecase where we want to extract the array elements only when a 
particular jsonMatch condition is met by the flattened doc. eg
   
   ```
   jsonextractindexarray(jsonDoc, '$..value', 'INT_ARRAY', 0, 
'REGEXP_LIKE("$..name__s", ''key.2'')')
   ```
   returns value fields where the name__s field matches the regexp ``key.2``. 
I'm okay with consolidating if this functionality can be added 
to`jsonExtractIndex` itself. I can change my pr to add the filter functionality.


-- 
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...@pinot.apache.org

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


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

Reply via email to