Document ARRAY_AGG() - #4472
Open
robert-brunel wants to merge 2 commits into
Open
Conversation
robert-brunel
marked this pull request as ready for review
August 18, 2026 10:24
robert-brunel
force-pushed
the
apple/robert-brunel/array_agg-2
branch
from
August 18, 2026 18:33
2709f67 to
6753f1d
Compare
* Add a page about the `ARRAY_AGG()` aggregate function to the SQL Reference. * Drop the `array-agg-correlated-subquery` block from `array-agg-tests.yamsql`, along with the `parent` and `child` tables it used, since the new documentation-queries file covers the correlated-subquery forms.
robert-brunel
force-pushed
the
apple/robert-brunel/array_agg-2
branch
from
August 24, 2026 11:16
6753f1d to
dc534c9
Compare
arnaud-lacurie
requested changes
Aug 24, 2026
arnaud-lacurie
requested changes
Aug 25, 2026
|
|
||
| The ``product_idx`` index is needed for the ``GROUP BY product`` query to be planned; see the note on required indexes under :ref:`Important Notes <array-agg-important-notes>`. | ||
|
|
||
| Collecting all values |
Collaborator
There was a problem hiding this comment.
This says "collecting all values", but does not use ALL and actually ignores nulls. This does not seem right
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ARRAY_AGG()aggregate function to the SQL Reference.array-agg-correlated-subqueryblock fromarray-agg-tests.yamsql, along with theparentandchildtables it used, since the new documentation-queries file covers the correlated-subquery forms.