influxdata / influxdata/influxdb

Flux `schema.tagValues` gives incorrect result with multicondition predicate

Open
#23,303 2 comments 0 reactions 0 assignees View on GitHub
1.x
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

Flux queries using `schema.tagValues` gives incorrect results in certain instances with certain predicates.

A probable fix for this was done in 2.x already, in #19856. A backport of this work to 1.x is likely to fix this

__Actual behavior:__
Using a Flux query of `schema.tagValues` with a multicondition predicate (using `and` and `or`, or mixing conditional statements) returns incorrect results

__Environment info:__

* InfluxDB version: 1.9.6

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing 2.x fix in pull request #19856 and the 1.x implementation of schema.tagValues. Reproduce the incorrect results with predicates combining and, or, or mixed conditions, then verify that the backport returns the expected tag values.

Written by the indexing model from the issue text.

Assessment

Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.