You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're seeing an oddity in InfluxQL's ability to pull back distinct values in a tag. This is happening on InfluxDB 3 Enterprise.
Filing as a potential bug as this may just be a lack in my knowledge of how InfluxQL works and its relation to SQL in this space. I've worked with the user on different approaches but getting the same results; documentation and Claude-assistance didn't come to a useful solution. Filing across InfluxQL and v3/Enterprise.
Context
The below query works using SQL:
influxdb3 query --database influx_poc 'select distinct order_type from stats_v11 '
What is the timestamp of the data you wrote in to test? SHOW TAG VALUES limits the look back period of the query to avoid killing the DB. Your SQL query instructs the DB to do a full table scan, which in real world scenarios would yield a query that times out (or possibly an OOM killed process).
Uh oh!
There was an error while loading. Please reload this page.
Potential Bug
We're seeing an oddity in InfluxQL's ability to pull back distinct values in a tag. This is happening on InfluxDB 3 Enterprise.
Filing as a potential bug as this may just be a lack in my knowledge of how InfluxQL works and its relation to SQL in this space. I've worked with the user on different approaches but getting the same results; documentation and Claude-assistance didn't come to a useful solution. Filing across InfluxQL and v3/Enterprise.
Context
The below query works using SQL:
influxdb3 query --database influx_poc 'select distinct order_type from stats_v11 '
But below query is not working using InfluxQL:
influxdb3 query --database influx_poc --language influxql 'show tag values from stats_v11 with key = "order_type"'
Additional Context
To show that the query I was doing for is a valid tag key, I was querying for "order_type" here.
influxdb3 query --database influx_poc --language influxql 'show tag keys from stats_v11 '
The text was updated successfully, but these errors were encountered: