Fixed #27767 -- Added distinct argument to ArrayAgg.

This commit is contained in:
orf 2017-01-23 15:34:42 +00:00 committed by Tim Graham
parent 245f209109
commit b5393028bf
5 changed files with 25 additions and 3 deletions

View file

@ -22,10 +22,17 @@ General-purpose aggregation functions
``ArrayAgg``
------------
.. class:: ArrayAgg(expression, **extra)
.. class:: ArrayAgg(expression, distinct=False, **extra)
Returns a list of values, including nulls, concatenated into an array.
.. attribute:: distinct
.. versionadded:: 2.0
An optional boolean argument that determines if array values
will be distinct. Defaults to ``False``.
``BitAnd``
----------