GreptimeTeam / GreptimeTeam/promql-parser

Missing functions: `start()` and `end()`

Open
#152 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
104
Forks
29
Avg merge
15h 27m
Merged PRs (30d)
1

Description

According to [Prometheus](https://github.com/prometheus/prometheus/blob/10f69629039e0215d056eb4948f0bd0fd22f5c89/promql/promqltest/testdata/functions.test#L2172) conformance tests, `start()` and `end()` are functions as well as modifiers

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the Prometheus conformance case in promql/promqltest/testdata/functions.test around line 2172, then trace how this parser represents functions and modifiers. Compare the handling of start() and end() with the existing PromQL grammar and tests. Done means both functions parse and conform to the referenced Prometheus behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
prometheus, rust
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.