-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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 MEASUREMENTS with multiple WHERE conditions returns inconsistent results #4118
Comments
We've confirmed that we can at least work around this issue with regular expressions:
|
The above empty regular expression workaround applies when looking for measurements containing a key, but it does not work when using a value.
|
Upon further review, influx console:
|
InfluxQL doesn't support Re the other issue of |
This is from commit 6ef51f8, starting with an empty ~/.influxdb folder, running a recent build of telegraf to collect data: Show measurements with two conditions returns inconsistent data:
Show measurements with one condition seems to consistently and correctly return the full set of matching measurements. |
Seeing some unexpected behavior when trying to query for a list of all measurements that contain a particular combination of tag keys (specific key/value pairs aren't relevant, just measurements that are part of a series with any number of tag keys.
I'm trying to reduce a list of possible measurements based on the presence of an arbitrary number of tags. Below, I would have expected the third query
SHOW MEASUREMENTS WHERE host <> '' AND cpu <> ''
to return all four cpu-based measurements. Not sure if I'm using the query language incorrectly or potentially a bug withSHOW MEASUREMENTS
.Querying using Telegraf data:
The text was updated successfully, but these errors were encountered: