-
Notifications
You must be signed in to change notification settings - Fork 15
Support partial results #118
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
Conversation
olegrok
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your patch! Consider several comments below.
| {name = 'age', type = 'number'}, | ||
| }) | ||
| local objects = crud.unflatten_rows(result.rows, result.metadata) | ||
| t.assert_equals(objects, {{id = 1, name = 'Elizabeth', age = 24, bucket_id = 477}}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why 477?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tarantool> vshard.router.bucket_id_strcrc32(1)
---
- 477
...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, but maybe should do it like this?
t.assert_equals(objects, {{id = 1, name = 'Elizabeth', age = 24, bucket_id = vshard.router.bucket_id_strcrc32(1)}}) or maybe leave a comment on how 477 is formed
ff28ef2 to
dab0848
Compare
|
Thanks a lot for your patch! Me and @olegrok left two little comments. Please, also update CHANGELOG and describe new option in README and then we can merge this PR! |
dokshina
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for your patch!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bless you
Don't forget to squash all your commit into single patch.
Closes #116