Skip to content

Commit

Permalink
*: update golangci-linter
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
  • Loading branch information
hawkingrei committed Feb 13, 2023
1 parent d6a1152 commit cfe476b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions planner/core/memtable_predicate_extractor.go
Original file line number Diff line number Diff line change
Expand Up @@ -1007,6 +1007,7 @@ func (e *MetricSummaryTableExtractor) Extract(
names []*types.FieldName,
predicates []expression.Expression,
) (remained []expression.Expression) {
//nolint: ineffassign
remained, quantileSkip, quantiles := e.extractCol(schema, names, predicates, "quantile", false)
remained, metricsNameSkip, metricsNames := e.extractCol(schema, names, predicates, "metrics_name", true)
e.SkipRequest = quantileSkip || metricsNameSkip
Expand Down

0 comments on commit cfe476b

Please sign in to comment.