Discussion:
[influxdb] how to write joins
surendra matta
2017-03-23 18:24:45 UTC
Permalink
Hi ,

Please let me know how to write joins in influxdb

My req :- i have two columns name metric and value

in metric i have the values avg and 90 % which is constant and in value i
have the values related to avg & 90% but i want to display Avg and 90 % in
a same row instead of separate row in grafana

regards,
Venkat
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/e05f749e-c1e7-4d33-b1e7-2cd0b3d53fde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Frank Inselbuch
2017-03-23 22:26:40 UTC
Permalink
Not clear what you are trying to do.
But joins are not currently supported AFAIK.
Post by surendra matta
Hi ,
Please let me know how to write joins in influxdb
My req :- i have two columns name metric and value
in metric i have the values avg and 90 % which is constant and in value i
have the values related to avg & 90% but i want to display Avg and 90 % in
a same row instead of separate row in grafana
regards,
Venkat
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/bd9586b9-5a90-4855-bdae-e697a9322dca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
a.sanchez.stephens via InfluxData
2017-03-30 23:46:01 UTC
Permalink
I have stubbled across this: https://docs.influxdata.com/influxdb/v0.8/api/query_language/ which has two sections that might be helpful - Merging Series and Joining Series
Post by surendra matta
Hi ,
Please let me know how to write joins in influxdb
My req :- i have two columns name metric and value 
in metric i have the values avg and 90 % which is constant and in value i have the values related to avg & 90% but i want to display  Avg and 90 % in a same row instead of separate row in grafana
regards,
Venkat
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/b1d4bbd0-1f93-4c95-a370-3e5410b9f93e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
surendra matta
2017-03-31 14:45:44 UTC
Permalink
i am trying to execute below query in influxdb by reference of this
document https://docs.influxdata.com/influxdb/v0.8/api/query_language/

select table1.value,table2.value from jmeter as table1 inner join jmeter as
table2 where table1.metric = 'avg' and table2.metric = 'pct90' and time >
now() - 10m ;

Server returned error: error parsing query: found AS, expected ; at line 1,
char 46


Please correct me if my query is wrong.

Regards,
Venkat
On Thursday, March 30, 2017 at 7:46:01 PM UTC-4,
Post by a.sanchez.stephens via InfluxData
https://docs.influxdata.com/influxdb/v0.8/api/query_language/ which has
two sections that might be helpful - Merging Series and Joining Series
Post by surendra matta
Hi ,
Please let me know how to write joins in influxdb
My req :- i have two columns name metric and value
in metric i have the values avg and 90 % which is constant and in value
i have the values related to avg & 90% but i want to display Avg and 90 %
in a same row instead of separate row in grafana
Post by surendra matta
regards,
Venkat
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/bed1a9ec-9d1d-4a84-b010-64bc666b6293%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Frank Inselbuch
2017-03-31 15:26:29 UTC
Permalink
notice that is version 0.8 documentation




Frank Inselbuch
Unix Edge, Inc.
***@unixedge.com
713-701-5421 (primary)
713-240-6700 (cellular)
https://zoom.us/j/7137015421 (telecon)

From: <***@googlegroups.com<mailto:***@googlegroups.com>> on behalf of surendra matta <***@gmail.com<mailto:***@gmail.com>>
Reply-To: <***@googlegroups.com<mailto:***@googlegroups.com>>
Date: Friday, March 31, 2017 at 9:45 AM
To: InfluxData <***@googlegroups.com<mailto:***@googlegroups.com>>
Cc: <***@googlemail.com<mailto:***@googlemail.com>>
Subject: [influxdb] Re: how to write joins

i am trying to execute below query in influxdb by reference of this document https://docs.influxdata.com/influxdb/v0.8/api/query_language/

select table1.value,table2.value from jmeter as table1 inner join jmeter as table2 where table1.metric = 'avg' and table2.metric = 'pct90' and time > now() - 10m ;

Server returned error: error parsing query: found AS, expected ; at line 1, char 46


Please correct me if my query is wrong.

Regards,
Venkat
On Thursday, March 30, 2017 at 7:46:01 PM UTC-4, ***@googlemail.com<mailto:***@googlemail.com> wrote:
I have stubbled across this: https://docs.influxdata.com/influxdb/v0.8/api/query_language/ which has two sections that might be helpful - Merging Series and Joining Series
Post by surendra matta
Hi ,
Please let me know how to write joins in influxdb
My req :- i have two columns name metric and value
in metric i have the values avg and 90 % which is constant and in value i have the values related to avg & 90% but i want to display Avg and 90 % in a same row instead of separate row in grafana
regards,
Venkat
--
Remember to include the version number!
---
You received this message because you are subscribed to a topic in the Google Groups "InfluxData" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/influxdb/SH_0Ph1gpP4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to influxdb+***@googlegroups.com<mailto:influxdb+***@googlegroups.com>.
To post to this group, send email to ***@googlegroups.com<mailto:***@googlegroups.com>.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/bed1a9ec-9d1d-4a84-b010-64bc666b6293%40googlegroups.com<https://groups.google.com/d/msgid/influxdb/bed1a9ec-9d1d-4a84-b010-64bc666b6293%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/D503DF4A.40FB%25inselbuch%40unixedge.com.
For more options, visit https://groups.google.com/d/optout.
Fulvio Spelta
2017-04-05 14:32:08 UTC
Permalink
Join is no more supported:
https://docs.influxdata.com/influxdb/v0.10/concepts/08_vs_010/
<https://docs.influxdata.com/influxdb/v0.10/concepts/08_vs_010/>
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/2e11adc5-464e-4898-8603-4c2cc4612f82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Frank Inselbuch
2017-04-05 20:30:26 UTC
Permalink
Would love to see an example of that Jack.




Frank Inselbuch
Unix Edge, Inc.
***@unixedge.com
713-701-5421 (primary)
713-240-6700 (cellular)
https://zoom.us/j/7137015421 (telecon)

From: Jack Zampolin <***@influxdb.com<mailto:***@influxdb.com>>
Date: Wednesday, April 5, 2017 at 3:07 PM
To: InfluxData <***@googlegroups.com<mailto:***@googlegroups.com>>
Cc: Frank Inselbuch <***@unixedge.com<mailto:***@unixedge.com>>
Subject: Re: [influxdb] Re: how to write joins

This is true, however many of those usecases can be covered by having measurements with many fields and doing math across them. This line protocol documentation<https://docs.influxdata.com/influxdb/v1.2/write_protocols/line_protocol_tutorial/> should help.

In the future please ask questions like this over on our community site<https://community.influxdata.com>.

On Wednesday, April 5, 2017 at 7:32:08 AM UTC-7, Fulvio Spelta wrote:
Join is no more supported: https://docs.influxdata.com/influxdb/v0.10/concepts/08_vs_010/<https://docs.influxdata.com/influxdb/v0.10/concepts/08_vs_010/>
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/D50ABE0B.4628%25inselbuch%40unixedge.com.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...