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

Fix SHOW TAG VALUES condition to not filter "name" erroneously #6584

Merged
merged 1 commit into from
May 9, 2016

Conversation

jsternberg
Copy link
Contributor

Before #6038 was merged, we needed to filter "name" so that it didn't
accidentally hit the code path that used "name" to check the name of a
measurement. This was changed to "_name" to avoid a conflict with a
legitimate tag that used "name" as the key.

SHOW TAG VALUES was never modified to remove the code that filtered out
"name". This removes that line of code so a condition with "name"
doesn't get removed erroneously.

Example:

SHOW TAG VALUES WITH KEY = host WHERE "name" = 'jsternberg'

Fixes #6581.

Before #6038 was merged, we needed to filter "name" so that it didn't
accidentally hit the code path that used "name" to check the name of a
measurement. This was changed to "_name" to avoid a conflict with a
legitimate tag that used "name" as the key.

SHOW TAG VALUES was never modified to remove the code that filtered out
"name". This removes that line of code so a condition with "name"
doesn't get removed erroneously.

Example:

    SHOW TAG VALUES WITH KEY = host WHERE "name" = 'jsternberg'

Fixes #6581.
@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @e-dard and @mark-rushakoff to be potential reviewers

@jsternberg jsternberg added this to the 0.13.0 milestone May 9, 2016
@jsternberg
Copy link
Contributor Author

@jwilder @benbjohnson

@benbjohnson
Copy link
Contributor

👍

@jsternberg jsternberg merged commit 8a04fb8 into 0.13 May 9, 2016
@jsternberg jsternberg deleted the js-6581-show-tag-values-where-clause branch May 9, 2016 16:04
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.

3 participants