-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
SHOW TAG VALUES no longer accepting negative regex in WHERE clause #6607
Comments
Confirming this happens in master. Also found something very strange. If you do this:
It works perfectly. So the problem seems to be that if a negative regex and it matches any tag value, it kills the whole measurement. |
jsternberg
added a commit
that referenced
this issue
May 12, 2016
jsternberg
added a commit
that referenced
this issue
May 16, 2016
This was referenced May 17, 2016
Could we use "time" as a filter criterion in the where class in the SHOW TAG query? |
@ucrkarthik please use the mailing list to ask questions. Thank you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
System info:
Issue NOT found in:
InfluxDB 0.10.0
Issue IS found in:
InfluxDB 0.11.1
InfluxDB 0.12.2
Steps to reproduce:
Expected behavior:
Negative regex
!~
in WHERE clause should work same for SELECT and SHOW TAG VALUES. Positive regex=~
still works. Both negative and positive used to work in 0.10.0.Actual behavior:
Every SHOW TAG VALUES I write with a negative regex in WHERE clause show no results and no errors. It doesn't matter how simple or complex I write the WHERE clause. If a negative regex is anywhere in the WHERE clause, empty results are returned.
Additional info:
Notice how both positive and negative regex works fine for SELECT, so query and datapoints are sound. Also, please do not mistake this for a similar issue discussing regex in the KEY clause of a SHOW TAG VALUES. This Bug Report is for regex in WHERE clause.
The text was updated successfully, but these errors were encountered: