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

Field order can break query parsing #234

Open
jonasagx opened this issue Jan 31, 2020 · 0 comments
Open

Field order can break query parsing #234

jonasagx opened this issue Jan 31, 2020 · 0 comments

Comments

@jonasagx
Copy link

The following query can be parsed:

FILTER AND ( _field < "now-30d", _num_something = 1, EXISTS(field) ) FROM user

While this one failed:

FILTER AND (_num_something = 1, EXISTS(field), _field < "now-30d" ) FROM user

With:
parse_filterql.go:439: could not parse: parse error: Un recognized input Got Token{ Type:"Error" Line:1 Col:45 Q: Pos:45} near: , _field < "now-30d

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

1 participant