Query: Fixing extended functions in distributed querier
- [ ] I added CHANGELOG entry for this change.
- [ ] Change is not relevant to the end user.
Changes
- Adding repro case for broken query with distributed engine
- Fixing problem with distributed queries and xfunctions
- Adding support for extended functions in tenancy enforcement
- Moving custom parser to new package
Verification
Added new acceptance tests and tested locally with two queriers.
LGTM, can you separate the prometheus import from stdlib imports though please?
LGTM, can you separate the prometheus import from stdlib imports though please?
@MichaHoffmann can you recheck?
Should we forbid using
parser.ParseExprdirectly through faillint? What about other places whereparser.ParseExpris used? 🤔
I have a follow up PR where I will clean up all other places where we use parser.ParserExpr did not want to include on this one because I will touch more than 30 files. I can also create this fail lint rule if it is the case.