Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
velox committed Oct 4, 2023
1 parent a823138 commit 01b0aa0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions docs/_sources/functions/presto/aggregate.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ General Aggregate Functions
.. function:: max(x) -> [same as input]

Returns the maximum value of all input values.
``x`` must not contains nulls when it is complex type.
``x`` must not contain nulls when it is complex type.

.. function:: max(x, n) -> array<[same as x]>

Expand All @@ -117,7 +117,7 @@ General Aggregate Functions
.. function:: min(x) -> [same as input]

Returns the minimum value of all input values.
``x`` must not contains nulls when it is complex type.
``x`` must not contain nulls when it is complex type.

.. function:: min(x, n) -> array<[same as x]>

Expand Down Expand Up @@ -193,6 +193,7 @@ General Aggregate Functions
.. function:: set_agg(x) -> array<[same as input]>

Returns an array created from the distinct input ``x`` elements.
``x`` must not contain nulls when it is complex type.

.. function:: set_union(array(T)) -> array(T)

Expand Down
7 changes: 4 additions & 3 deletions docs/functions/presto/aggregate.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ <h2>General Aggregate Functions<a class="headerlink" href="#general-aggregate-fu
<dt class="sig sig-object py" id="max">
<span class="sig-name descname"><span class="pre">max</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">[same</span> <span class="pre">as</span> <span class="pre">input]</span></span></span><a class="headerlink" href="#max" title="Permalink to this definition"></a></dt>
<dd><p>Returns the maximum value of all input values.
<code class="docutils literal notranslate"><span class="pre">x</span></code> must not contains nulls when it is complex type.</p>
<code class="docutils literal notranslate"><span class="pre">x</span></code> must not contain nulls when it is complex type.</p>
</dd></dl>

<dl class="py function">
Expand All @@ -188,7 +188,7 @@ <h2>General Aggregate Functions<a class="headerlink" href="#general-aggregate-fu
<dt class="sig sig-object py" id="min">
<span class="sig-name descname"><span class="pre">min</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">[same</span> <span class="pre">as</span> <span class="pre">input]</span></span></span><a class="headerlink" href="#min" title="Permalink to this definition"></a></dt>
<dd><p>Returns the minimum value of all input values.
<code class="docutils literal notranslate"><span class="pre">x</span></code> must not contains nulls when it is complex type.</p>
<code class="docutils literal notranslate"><span class="pre">x</span></code> must not contain nulls when it is complex type.</p>
</dd></dl>

<dl class="py function">
Expand Down Expand Up @@ -271,7 +271,8 @@ <h2>General Aggregate Functions<a class="headerlink" href="#general-aggregate-fu
<dl class="py function">
<dt class="sig sig-object py" id="set_agg">
<span class="sig-name descname"><span class="pre">set_agg</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">array&lt;[same</span> <span class="pre">as</span> <span class="pre">input]&gt;</span></span></span><a class="headerlink" href="#set_agg" title="Permalink to this definition"></a></dt>
<dd><p>Returns an array created from the distinct input <code class="docutils literal notranslate"><span class="pre">x</span></code> elements.</p>
<dd><p>Returns an array created from the distinct input <code class="docutils literal notranslate"><span class="pre">x</span></code> elements.
<code class="docutils literal notranslate"><span class="pre">x</span></code> must not contain nulls when it is complex type.</p>
</dd></dl>

<dl class="py function">
Expand Down

0 comments on commit 01b0aa0

Please sign in to comment.