Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removes duplicate logRangeExprExt grammar #1651

Merged
merged 2 commits into from
Feb 6, 2020

Conversation

owen-d
Copy link
Member

@owen-d owen-d commented Feb 6, 2020

What this PR does / why we need it:
Simplifies the logql grammar by removing an unnecessary logRangeExprExt type which can be represented as LogRangeExpr. Without this change there are yacc shift/reduce errors as it's impossible to tell between selector DURATION and logExpr DURATION.

@codecov-io
Copy link

Codecov Report

Merging #1651 into master will increase coverage by 0.1%.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #1651     +/-   ##
========================================
+ Coverage   61.69%   61.8%   +0.1%     
========================================
  Files         109     109             
  Lines        8308    8308             
========================================
+ Hits         5126    5135      +9     
+ Misses       2786    2780      -6     
+ Partials      396     393      -3
Impacted Files Coverage Δ
pkg/logql/ast.go 87.2% <ø> (ø) ⬆️
pkg/logql/stats/context.go 94% <100%> (ø) ⬆️
pkg/promtail/targets/filetarget.go 70.55% <0%> (+1.84%) ⬆️
pkg/promtail/targets/tailer.go 78.16% <0%> (+6.89%) ⬆️

Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cyriltovena cyriltovena merged commit e0a7765 into grafana:master Feb 6, 2020
cyriltovena pushed a commit to cyriltovena/loki that referenced this pull request Jun 11, 2021
* cache table info for bigtable tables in tablemanager

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* Add expiration to the bigtable table cache

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* fix order of adding table to cache

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* refactor based on review comments

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* add ListTables comment

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants