Simple. We need to get all UNIQUE fields.
- SELECT DISTINCT(user_string) FROM influxdb.autogen.logs.
- It fails - does not get anything
- SELECT DISTINCT(user_string) FROM (SELECT * FROM influxdb.autogen.logs)
- It delivers ONE value, but
- SELECT COUNT(DISTINCT(user_string)) FROM (SELECT * FROM influxdb.autogen.logs)
-
It delivers 1243 number of distinct users
–> How can i enable DISTINCT to return all distinct values?