Skip to content

Conversation

@mchrome
Copy link
Collaborator

@mchrome mchrome commented May 21, 2025

This PR fixes cases where seriesByTag queries with terms having empty values produce non-optimal sql that doesn't use Tag1 column. This only happens when useCarbonBehavior is set to true.
Example:
seriesByTag('emptyval=', 'what=value') produces something like (NOT arrayExists((x) -> x LIKE 'emptyval=%', Tags)) AND has('what=value', Tags)

@mchrome mchrome merged commit 4960cc2 into go-graphite:master May 26, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants