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

test: add reproducer that shows group by behaviour #25827

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hiltontj
Copy link
Contributor

Related to #25751

This is a reproducer for what I think is a bug in the InfluxQL query planner/executor.

What this demonstrates is that when a regex is used in a GROUP BY in an InfluxQL query to select on groups of multiple tags, the tags that do not match the regex are not included in the projected query result.

However, if the same tags that would be matched by the regex are provided explicitly, the other columns are included in the projection.

See the test added in this PR.

@hiltontj hiltontj added the v3 label Jan 13, 2025
@hiltontj hiltontj self-assigned this Jan 13, 2025
@hiltontj hiltontj force-pushed the hiltontj/influxql-group-by-minimal-repro branch from 5cb3e1e to e7038b8 Compare January 13, 2025 19:44
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.

1 participant