본문으로 건너뛰기

AggregateExpr

One aggregation output: an allowlisted function over a column, named by alias. count may omit column (a row count). Raw SQL / arbitrary expressions are intentionally not representable.

functionFunction (string)필수

Allowlisted aggregate function

Possible values: [sum, count, avg, min, max]

column object

Aggregated column (omit only for count)

하나 이상(anyOf)
string
aliasAlias (string)필수

Output column name

AggregateExpr
{
"function": "sum",
"column": "string",
"alias": "string"
}