Skip to content

feat: add first, last, arrayAgg and arrayAggDistinct expressions#2334

Merged
yvonnep165 merged 5 commits intomainfrom
yvonne/accumulators-expressions
Mar 3, 2026
Merged

feat: add first, last, arrayAgg and arrayAggDistinct expressions#2334
yvonnep165 merged 5 commits intomainfrom
yvonne/accumulators-expressions

Conversation

@yvonnep165
Copy link
Contributor

Adds support for the accumulators pipeline expressions: first, last, arrayAgg and arrayAggDistinct.

ported from firebase/firebase-js-sdk#9576

@yvonnep165 yvonnep165 requested review from a team as code owners March 2, 2026 16:02
@product-auto-label product-auto-label bot added size: l Pull request size is large. api: firestore Issues related to the googleapis/java-firestore API. labels Mar 2, 2026
@yvonnep165 yvonnep165 requested review from dlarocque and milaGGL March 2, 2026 16:03
Copy link
Contributor

@milaGGL milaGGL left a comment

Choose a reason for hiding this comment

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

LGTM

@yvonnep165 yvonnep165 removed the request for review from a team March 3, 2026 20:02
@MarkDuckworth MarkDuckworth added the kokoro:run Add this label to force Kokoro to re-run the tests. label Mar 3, 2026
@yvonnep165 yvonnep165 merged commit 2be5989 into main Mar 3, 2026
28 checks passed
@yvonnep165 yvonnep165 deleted the yvonne/accumulators-expressions branch March 3, 2026 21:52
dlarocque pushed a commit that referenced this pull request Mar 11, 2026
* add first, last, arrayAgg and arrayAggDistinct expressions and documentation

* chore: generate libraries at Mon Mar  2 16:03:26 UTC 2026

* add instance method tests for the ported expression

* remove code samples in PipelineSnippets.java

---------

Co-authored-by: cloud-java-bot <cloud-java-bot@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: firestore Issues related to the googleapis/java-firestore API. kokoro:run Add this label to force Kokoro to re-run the tests. size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants