Skip to content

Commit d61bf7b

Browse files
committed
feat(promql): lower queries to unified operator and scalar IR
1 parent 8a633ee commit d61bf7b

15 files changed

Lines changed: 7269 additions & 0 deletions

File tree

‎Cargo.lock‎

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎crates/frontend-metricsql/Cargo.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ edition = "2021"
55

66
[dependencies]
77
asap-types = { path = "../types" }
8+
asap-frontend-common = { path = "../frontend-common" }
89
metricsql_parser = { path = "../metricsql-parser-vendored" }
910
thiserror = "2"

‎crates/frontend-metricsql/src/lib.rs‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,3 +324,6 @@ fn require_arity(name: &str, actual: usize, expected: usize) -> Result<(), Metri
324324
fn unsupported(message: impl Into<String>) -> MetricsqlError {
325325
MetricsqlError::UnsupportedFeature(message.into())
326326
}
327+
328+
/// Unified lowering, promoted to the root API at planner cutover.
329+
pub mod unified;

0 commit comments

Comments
 (0)