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

Avereha/group by node #292

Merged
merged 3 commits into from
Sep 4, 2020
Merged

Avereha/group by node #292

merged 3 commits into from
Sep 4, 2020

Conversation

avereha
Copy link
Contributor

@avereha avereha commented Sep 3, 2020

What issue is this change attempting to solve?

Replace 5xx error with 400 Bad Request when we are calling groupByNode with invalid nodeNum argument.

How does this change solve the problem? Why is this the best approach?

Example error:
"Bad Request (400) Details: expression eval failed: groupByNode: invalid function argument value: -8 "
Related #291 . For now, we just validate, do not support negative index.

How can we be sure this works as expected?

Tested by hand.

@avereha avereha merged commit 27a52ad into master Sep 4, 2020
@avereha avereha deleted the avereha/groupByNode branch September 4, 2020 08:21
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.

1 participant