Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[0.9.1] (regression) simple regex query fails with cryptic error #3326

Closed
beckettsean opened this issue Jul 14, 2015 · 1 comment
Closed
Assignees
Milestone

Comments

@beckettsean
Copy link
Contributor

SELECT * FROM /.*/ LIMIT 1, which appears in our 0.9 docs three times, now fails with an error about fields in a GROUP BY.

> SELECT * FROM /.*/ LIMIT 1
ERR: can not use field in group by clause: host

This worked in 0.9.0, doesn't work in 0.9.1.

@desa
Copy link
Contributor

desa commented Jul 28, 2015

Similar issue

> insert thing,"query"=yay value=1
> select * from thing
ERR: can not use field in GROUP BY clause: query

@toddboom toddboom modified the milestones: 0.9.2, 0.9.3 Jul 29, 2015
jwilder added a commit that referenced this issue Aug 10, 2015
ValidateGroupBy was returning an error if a tag does not exist
but it appears that function was supposed to be validating that
a field name was not used as a group by field.

Fixes #3326
@jwilder jwilder assigned jwilder and unassigned pauldix Aug 10, 2015
@jwilder jwilder removed the review label Aug 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants