Skip to content

Commit

Permalink
[FLINK-9296] [table] Add documentation for DISTINCT aggregates
Browse files Browse the repository at this point in the history
  • Loading branch information
twalthr committed Jul 24, 2018
1 parent 9f181a4 commit 365d9c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/dev/table/sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -2222,7 +2222,7 @@ COUNT(value [, value]* )
{% endhighlight %}
</td>
<td>
<p>Returns the number of input rows for which <i>value</i> is not null.</p>
<p>Returns the number of input rows for which <i>value</i> is not null. Use <code>COUNT(DISTINCT value)</code> for the number of unique values in the column or expression.</p>
</td>
</tr>

Expand Down Expand Up @@ -2255,7 +2255,7 @@ SUM(numeric)
{% endhighlight %}
</td>
<td>
<p>Returns the sum of <i>numeric</i> across all input values.</p>
<p>Returns the sum of <i>numeric</i> across all input values. Use <code>SUM(DISTINCT value)</code> for the sum of unique values in the column or expression.</p>
</td>
</tr>

Expand Down

0 comments on commit 365d9c1

Please sign in to comment.