Incorrect results when select uses measurement regex without field regex #7877
Closed
Description
Bug report
System info: [1.1.2, MacOs, 10.12.3]
Steps to reproduce:
Two measurements, M1 and M2 with same fields: A and B. These are fields, not tags.
- select "A","B" from /M1|M2/ =>empty
- select A,/B/ from /M1|M2/ => correct result for B
- select /A/,/B/ from /M1|M2/ =>correct result A,B
Expected behavior: [the value of the fields "A" and "B" are correctly selected in all queries]
Actual behavior: [it appears that regex in field expressions TRIGGERS parsing regex in measurement expression]
Additional info: [the query 1 works fine with influx 1.1.0-1 on Windows and MacOs] This new behavior in influxdb 1.2.0-1 will break Grafana.