Skip to content

Commit

Permalink
feat: implement HistogramFold plan for prometheus histogram type (#…
Browse files Browse the repository at this point in the history
…2626)

* basic impl of fold plan

Signed-off-by: Ruihang Xia <[email protected]>

* add schema test

Signed-off-by: Ruihang Xia <[email protected]>

* fill plan attributes

Signed-off-by: Ruihang Xia <[email protected]>

* fix styles

Signed-off-by: Ruihang Xia <[email protected]>

* unify variable names

Signed-off-by: Ruihang Xia <[email protected]>

---------

Signed-off-by: Ruihang Xia <[email protected]>
  • Loading branch information
waynexia authored Oct 20, 2023
1 parent 1658d08 commit 212ea2c
Show file tree
Hide file tree
Showing 5 changed files with 807 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/promql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ catalog = { workspace = true }
common-catalog = { workspace = true }
common-error = { workspace = true }
common-macro = { workspace = true }
common-recordbatch = { workspace = true }
common-telemetry = { workspace = true }
datafusion.workspace = true
datatypes = { workspace = true }
Expand Down
1 change: 1 addition & 0 deletions src/promql/src/extension_plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// limitations under the License.

mod empty_metric;
mod histogram_fold;
mod instant_manipulate;
mod normalize;
mod planner;
Expand Down
Loading

0 comments on commit 212ea2c

Please sign in to comment.