Influxdb: [feature request] ORDER BY tag values

Created on 2 Sep 2015  路  43Comments  路  Source: influxdata/influxdb

1.x arequeries flutriaged kinfeature-request

Most helpful comment

+1
plus order by <field>

All 43 comments

+1, would love this. Would also like to pass more than 1 tag to the order by operation so they are alpha sorted first by tag1 then by tag2, etc.

Will that issue meet our needs like that?:

select count(values) from events group by event_type order by count desc

@muratcorlu no, that is a separate request. This is only for ordering by tag values, not by function return values.

+1

+1
plus order by <field>

very useful
+1

:+1:

Hi influxers,
any update on this issue? Anything planned?

Any workaround for this? For some reason influxdb decides tag values return should be sorted 100,101,102,...,198,199,001,002,003. As grafana writes whatever is returned by the database I have a large drop down menu of template values with a whacky sort that makes people confused how it even determined that is the correct sort.

Any update ?

+1

+1

Hi, Would be great especially if we use the tag to avoid overriding when 2 points with same tags values and same timestamp are written.
Any workaround?
Thanks

So if someone is using influxDB to track device diagnostics naturally one would wish to sort by value. For example, if one is investigating device resets, one would wish to sort a list and prioritize the devices that are resetting the most. Without this... metrics that target problematic units are nearly impossible.

+1

+1

@beckettsean we are now in August 2018 (issue created in 2015) any update on it or plan in influx roadmap ? (order by part capability is really a strong functionnality missing to influx)

we are now in Mar 2019 :) I will take clickhouse soon

+1

2019

what are you doing guys please do something about this matter, irritating sort system group by tag it is 2019 now

+1

+1

+1

+1

+1

+1. 2019, order by field value is a must.

+1, super basic feature for a database

+1, we hit that problem too. It would be very nice to have this function.

+1, any announcement on this issue?

+1, please <3

+1000

Any update in this issue. Even a statement to say if it's in scope or there are no plans for this?

+1

+1

+1

+1

+1

+1

+1

any plan to add this feature ?

Support for sorting by tags will likely not be added to InfluxQL, but it is already supported in Flux.

+1

Support for sorting by tags will likely not be added to InfluxQL, but it is already supported in Flux.

I would buy this, the problem is that flux is orders of magnitude slower than influxql.

Was this page helpful?
0 / 5 - 0 ratings