-
Notifications
You must be signed in to change notification settings - Fork 15
Count implementation #230
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
Count implementation #230
Conversation
30ec2ce
to
11aec65
Compare
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.
What was actually implemented in these changes?
PR description says that it closes ticket #74. Ticket 74 contains a discussion with different opinions of what and how it should be implemented. Get me right: I don't want to repeat stories that happen in another PR's and modules when developer, product manager, reviewer have different views regarding requirements.
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 the patches!
I did an initial review, and I'll continue after fixes.
48af65b
to
97883b0
Compare
7d6d6c5
to
96fb0d5
Compare
616753d
to
408315d
Compare
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.
We are close to finish. However, I have several comments.
408315d
to
5bde6cf
Compare
5bde6cf
to
12eaee3
Compare
12eaee3
to
52a6a03
Compare
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.
LGTM aside of several tiny comments above. Ok to push from me after fixes (not need to re-review).
Please, finish review with @ligurio first.
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.
LGTM aside comments left by @Totktonada and merge conflict.
Thanks for your patience!
52a6a03
to
01054ac
Compare
For `count` implementation with the support of the query by conditions there is a need to use query plan and condition filters that has been already written for select. This commit separates common methods from select module and moves them in common folders. Part of #74
01054ac
to
4ada70e
Compare
This commit introduces count method that: * has arguments and options like `select()`/`pairs()`; * counts number of rows in space with yield by `yield_every`; * counts by any conditions. Closes #74
4ada70e
to
69babeb
Compare
Add implementation of
count()
methodThis patch introduces count method that:
select()
/pairs()
;count_to_yield
;Closes #74