harnoor
07/05/2022, 3:33 PMtext_match(backend_name,'/perf/')
and REGEXP_LIKE(backend_name,'perf')
What should be the equivalent text_match
filter for REGEXP_LIKE(backend_name,'perf')
?
ThanksMayank
harnoor
07/08/2022, 6:16 AMAtri Sharma
07/08/2022, 6:17 AMAtri Sharma
07/10/2022, 5:18 PMtext_match(backend_name, 'perf')
should work well? Assuming you are looking to match only the term.Atri Sharma
07/10/2022, 5:18 PMbackend_name
?harnoor
07/10/2022, 7:09 PMtext_match(backend_name, 'perf')
too, but i see no results while using the same.
Query 1:
Select distinct(backend_name) FROM backend_entity_view WHERE regexp_like(backend_name,'perf')
Result 1:
<http://mock-go.int.perf.in|mock-go.int.perf.in>
perf.cache.np.vpc
Query 2:
Select distinct(backend_name) FROM backend_entity_view WHERE text_match(backend_name,'perf')
Result 2:
No Record(s) found
However, results are same when I use text_match(backend_name,'/.*perf.*/')
.Atri Sharma
07/11/2022, 6:14 AMAtri Sharma
07/11/2022, 6:15 AMharnoor
07/11/2022, 7:30 PMREGEXP_LIKE()
i am still not clear though as I could not find right config on pinot docs.
Basically we want to speed up all the queries that give me any document which has ‘perf’ or any string as a substring.
I see this config on github https://github.com/apache/pinot/pull/6120#issue-717507183 .
also these config.
Can you pls suggest the best config?
Started a new thread here - https://apache-pinot.slack.com/archives/C011C9JHN7R/p1657570231571219