lnbest0707-uber opened a new pull request, #14229:
URL: https://github.com/apache/pinot/pull/14229

   Json index is a frequently used feature but currently with very limited 
configuration ways. Users could only have a global max level or array index 
limit. The existing includePaths/excludePaths(fields) could only do binary 
include or exclude. There are requirement like following cannot be fulfilled:
   
   Set global max level as 3, but 5 or infinite levels on a particular key 
"$.request"
   Include a prefix path "$.a.b.c" but with more or less max levels
   Enable array json index on some path "$.a.b" only
   Having includePaths filter with wildcard like matching instead of prefix 
match only, e.g. "$.*.a.b"
   This PR introduced a new json config parameter indexPaths which could be 
configured with:
   
   Matching infinite levels from a prefix with ** or a.**
   Matching one single level from a prefix and with its following suffix with 
a.b.*.c.d
   Global max level setup or max level with prefix (e.g. 3 levels global and 5 
levels after prefix) with *.*.* or a.b.*.*.*.*.*
   Json index configuration within an array a..* to match {"a": ["b": 1, "c": 
2]}
   


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