Skip to content

Incorrect results when select uses measurement regex without field regex #7877

Closed
@dmitrios

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.

  1. select "A","B" from /M1|M2/ =>empty
  2. select A,/B/ from /M1|M2/ => correct result for B
  3. 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.

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions