thanos-io / promql-engine

Multi-threaded PromQL engine implementation based on the Volcano paper.
Apache License 2.0
133 stars 52 forks source link

engine,plan,execution: string and number literals as logical nodes #410

Closed MichaHoffmann closed 3 months ago

MichaHoffmann commented 3 months ago

Convert more PromQL AST Expressions into Thanos logical nodes. This is an ongoing effort, this PR only does NumberLiteral and StringLiteral.

MichaHoffmann commented 3 months ago

Will this also work for label_replace and label_join?

Yes! After this; all expressions returned from "Plan()" will use the logical nodes from this commit