Skip to content

Delay converting labels to Block in Prometheus#12510

Merged
ebyhr merged 1 commit intotrinodb:masterfrom
ebyhr:ebi/prometheus-fix-aggreagtion
Jul 11, 2022
Merged

Delay converting labels to Block in Prometheus#12510
ebyhr merged 1 commit intotrinodb:masterfrom
ebyhr:ebi/prometheus-fix-aggreagtion

Conversation

@ebyhr
Copy link
Copy Markdown
Member

@ebyhr ebyhr commented May 23, 2022

Description

Documentation

(x) No documentation is needed.

Release notes

(x) Release notes entries required with the following suggested text:

# Prometheus
* Fix failure when reading tables without specifying a `labels` column. ({issue}`12510`)

@cla-bot cla-bot bot added the cla-signed label May 23, 2022
@ebyhr ebyhr force-pushed the ebi/prometheus-fix-aggreagtion branch from 8c3bbd7 to f7098a1 Compare May 23, 2022 03:30
@ebyhr ebyhr requested review from Praveen2112 and hashhar May 23, 2022 05:35
This change fixes aggregation query failure without labels column.
Previously, the record cursor always tried to get the label column type
even though the column handle is empty.
@ebyhr ebyhr force-pushed the ebi/prometheus-fix-aggreagtion branch from f7098a1 to 34ad395 Compare May 23, 2022 10:23
@ebyhr ebyhr requested review from Praveen2112 and removed request for Praveen2112 July 5, 2022 03:51
@ebyhr ebyhr merged commit 018e75c into trinodb:master Jul 11, 2022
@ebyhr ebyhr deleted the ebi/prometheus-fix-aggreagtion branch July 11, 2022 12:41
@ebyhr ebyhr mentioned this pull request Jul 11, 2022
@github-actions github-actions bot added this to the 390 milestone Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

ArrayIndexOutOfBoundsException when count(1) in prometheus

2 participants