본문으로 건너뛰기

AggregateArgs

limit returns the first limit buckets in group_by order (text in code-point order, NULL last) and marks the result truncated when more exist — the distinct values of a column, bounded. Without it a group_by past the binding's max_buckets is refused (too_many_buckets).

now object
하나 이상(anyOf)
string<date-time>
metrics object[]필수

Possible values: >= 1

  • Array [
  • fnFn (string)필수

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

    column object

    Semantic column definition. Capability flags control filtering, sorting, grouping, and catalog visibility; values is exhaustive, samples is illustrative, and dictionary-backed columns suppress both value lists from semantic catalog output.

    하나 이상(anyOf)
    string
  • ]
  • group_by object
    하나 이상(anyOf)
  • Array [
  • string
  • ]
  • accuracyAccuracy (string)

    Possible values: [accurate, approximate]

    기본값: accurate
    limit object
    하나 이상(anyOf)
    integer

    Possible values: >= 1

    AggregateArgs
    {
    "now": "2024-07-29T15:51:28.071Z",
    "metrics": [
    {
    "fn": "count",
    "column": "string"
    }
    ],
    "group_by": [
    "string"
    ],
    "accuracy": "accurate",
    "limit": 0
    }