-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add aggregate function tooltip
- Loading branch information
Showing
8 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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,5 @@ | ||
avg(X) | ||
|
||
The avg() function returns the average of all non-NULL values in a group, interpreting non-numeric | ||
strings and BLOBs as 0. It always yields a floating point result if there is at least one non-NULL | ||
input and returns NULL if there are no non-NULL inputs. |
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,4 @@ | ||
count(X), count(\*) | ||
|
||
The count(X) function returns a count of the number of times that X is not NULL in a group. | ||
The count(\*) function (with no arguments) returns the total number of rows in the group. |
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,3 @@ | ||
group_concat(X, Y) | ||
|
||
The function concatenates all non-NULL values of X into a string, using Y as the separator. If Y is omitted, a comma (",") is used. |
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,3 @@ | ||
string_agg(X, Y) | ||
|
||
The function concatenates all non-NULL values of X into a string, using Y as the separator. If Y is omitted, a comma (",") is used. |
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,3 @@ | ||
sum(X) | ||
|
||
The function returns the sum of all non-NULL values in the group, returning NULL if there are no non-NULL inputs. |
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,4 @@ | ||
total(X) | ||
|
||
The function returns the sum of all non-NULL values in the group, with a result of 0.0 if there are no non-NULL inputs. | ||
The result of total() is always a floating point value. |