MCPcopy Index your code
hub / github.com/cortexproject/cortex / shouldUseSampleNumComparer

Function shouldUseSampleNumComparer

integration/query_fuzz_test.go:1820–1825  ·  view source on GitHub ↗
(query string)

Source from the content-addressed store, hash-verified

1818}
1819
1820func shouldUseSampleNumComparer(query string) bool {
1821 if strings.Contains(query, "bottomk") || strings.Contains(query, "topk") {
1822 return true
1823 }
1824 return false
1825}
1826
1827func isValidQuery(generatedQuery parser.Expr, skipBackwardIncompat bool) bool {
1828 isValid := true

Callers 3

runQueryFuzzTestCasesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected