Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

feat: Sum and Average aggregations#1873

Merged
ehsannas merged 14 commits intomainfrom
ehsann/sum-average-release
Oct 9, 2023
Merged

feat: Sum and Average aggregations#1873
ehsannas merged 14 commits intomainfrom
ehsann/sum-average-release

Conversation

@ehsannas
Copy link
Copy Markdown
Contributor

@ehsannas ehsannas commented Aug 2, 2023

No description provided.

* WIP WIP.

* also add isEqual.

* lint.

* add aggregate() API in firestore.d.ts.

* Use NodeJS.Dict

* Update isEqual.

* Add isEqual unit test.

* better api.

* more tests.

* Add more tests.

* Remove test code that targets emulator.

* rename avg() to average().

* rename avg to average.

* Fix lint errors.

* Clean up.

* Address code review comments.

* Expose aggregate type and field publicly.

* Fix the way assert was imported.

* lint.

* backport test updates.
* feat: Add long-alias support for aggregations.

* Lint fix and fix unit tests.

* update assertion message.
* Enable tests.

* Remove @internal annotation.

* Address comments.
@product-auto-label product-auto-label Bot added size: xl Pull request size is extra large. api: firestore Issues related to the googleapis/nodejs-firestore API. labels Aug 2, 2023
@ehsannas ehsannas requested a review from MarkDuckworth August 2, 2023 23:16
@ehsannas ehsannas added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Aug 2, 2023
Copy link
Copy Markdown
Contributor

@MarkDuckworth MarkDuckworth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - two nits for you consideration.

Comment thread types/firestore.d.ts Outdated
Comment thread dev/system-test/firestore.ts Outdated
@ehsannas ehsannas marked this pull request as ready for review September 21, 2023 18:56
@ehsannas ehsannas requested review from a team September 21, 2023 18:56
@ehsannas ehsannas added kokoro:force-run Add this label to force Kokoro to re-run the tests. and removed do not merge Indicates a pull request not ready for merge, due to either quality or timing. labels Oct 3, 2023
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 3, 2023
@ehsannas ehsannas added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Oct 3, 2023
@ehsannas ehsannas removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Oct 5, 2023
@ehsannas ehsannas added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 5, 2023
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 5, 2023
Comment thread dev/system-test/firestore.ts Outdated
Copy link
Copy Markdown
Contributor

@MarkDuckworth MarkDuckworth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ehsannas ehsannas merged commit b9ea514 into main Oct 9, 2023
@ehsannas ehsannas deleted the ehsann/sum-average-release branch October 9, 2023 17:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: firestore Issues related to the googleapis/nodejs-firestore API. size: xl Pull request size is extra large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants