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

Fixed aggregate count argument restriction in QueryParserImpl #2955

Merged

Conversation

haikalpribadi
Copy link
Member

Why is this PR needed?

QueryParserImpl was restricting the number of arguments an aggregate count query can take in. This manual hard coding of the query grammar should not exist in the first place, but we can fix the range restriction for now.

What does the PR do?

  1. Change the max number of arguments an aggregate count is registered to take
  2. Modify test in GraqlShellIT to catch this bug

Does it break backwards compatibility?

Nope.

List of future improvements not on this PR

Remove manual registration of aggregate queries.

…gate count

(cherry picked from commit 0b4fafae5cbafd7122567bf04552756675be5096)
@marco-scoppetta marco-scoppetta merged commit 4454e74 into vaticle:master Aug 15, 2018
@haikalpribadi haikalpribadi deleted the aggregate-count-argument-fix branch August 15, 2018 11:01
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

Successfully merging this pull request may close these issues.

None yet

2 participants