forked from substrait-io/substrait
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b6abbb7
commit 5aa597d
Showing
13 changed files
with
3,021 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
|
||
|
||
|
||
# functions_aggregate_approx.yaml | ||
|
||
|
||
This document file is generated for [functions_aggregate_approx.yaml](https://github.com/substrait-io/substrait/tree/main/extensions/functions_aggregate_approx.yaml) | ||
## Aggregate Functions | ||
|
||
### approx_count_distinct | ||
|
||
|
||
Implementations: | ||
approx_count_distinct(`x`): -> `return_type` | ||
0. approx_count_distinct(`any`): -> `i64` | ||
|
||
*Calculates the approximate number of rows that contain distinct values of the expression argument using HyperLogLog. This function provides an alternative to the COUNT (DISTINCT expression) function, which returns the exact number of rows that contain distinct values of an expression. APPROX_COUNT_DISTINCT processes large amounts of data significantly faster than COUNT, with negligible deviation from the exact result.* |
39 changes: 39 additions & 0 deletions
39
site/docs/extensions/functions_aggregate_decimal_output.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
|
||
|
||
|
||
|
||
# functions_aggregate_decimal_output.yaml | ||
|
||
|
||
This document file is generated for [functions_aggregate_decimal_output.yaml](https://github.com/substrait-io/substrait/tree/main/extensions/functions_aggregate_decimal_output.yaml) | ||
## Aggregate Functions | ||
|
||
### count | ||
|
||
|
||
Implementations: | ||
count(`x`, `option:overflow`): -> `return_type` | ||
0. count(`any`, `option:overflow`): -> `decimal<38,0>` | ||
|
||
*Count a set of values. Result is returned as a decimal instead of i64.* | ||
|
||
<details><summary>Options:</summary> | ||
|
||
<li>overflow ['SILENT', 'SATURATE', 'ERROR'] </li> | ||
|
||
</details> | ||
|
||
### count | ||
|
||
|
||
Implementations: | ||
|
||
*Count a set of records (not field referenced). Result is returned as a decimal instead of i64.* | ||
### approx_count_distinct | ||
|
||
|
||
Implementations: | ||
approx_count_distinct(`x`): -> `return_type` | ||
0. approx_count_distinct(`any`): -> `decimal<38,0>` | ||
|
||
*Calculates the approximate number of rows that contain distinct values of the expression argument using HyperLogLog. This function provides an alternative to the COUNT (DISTINCT expression) function, which returns the exact number of rows that contain distinct values of an expression. APPROX_COUNT_DISTINCT processes large amounts of data significantly faster than COUNT, with negligible deviation from the exact result. Result is returned as a decimal instead of i64.* |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
|
||
|
||
|
||
|
||
# functions_aggregate_generic.yaml | ||
|
||
|
||
This document file is generated for [functions_aggregate_generic.yaml](https://github.com/substrait-io/substrait/tree/main/extensions/functions_aggregate_generic.yaml) | ||
## Aggregate Functions | ||
|
||
### count | ||
|
||
|
||
Implementations: | ||
count(`x`, `option:overflow`): -> `return_type` | ||
0. count(`any`, `option:overflow`): -> `i64` | ||
|
||
*Count a set of values* | ||
|
||
<details><summary>Options:</summary> | ||
|
||
<li>overflow ['SILENT', 'SATURATE', 'ERROR'] </li> | ||
|
||
</details> | ||
|
||
### count | ||
|
||
|
||
Implementations: | ||
|
||
*Count a set of records (not field referenced)* | ||
### any_value | ||
|
||
|
||
Implementations: | ||
any_value(`x`, `option:ignore_nulls`): -> `return_type` | ||
0. any_value(`any1`, `option:ignore_nulls`): -> `any1?` | ||
|
||
*Selects an arbitrary value from a group of values. | ||
If the input is empty, the function returns null. | ||
* | ||
|
||
<details><summary>Options:</summary> | ||
|
||
<li>ignore_nulls ['TRUE', 'FALSE'] </li> | ||
|
||
</details> |
Oops, something went wrong.