Skip to content
Merged
28 changes: 28 additions & 0 deletions config/schema/artifacts/runtime_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4033,6 +4033,10 @@ object_types_by_name:
computation_function: cardinality
resolver:
name: object_with_lookahead
approximate_percentile:
computation_function: percentile
resolver:
name: object_with_lookahead
exact_max:
computation_function: max
resolver:
Expand Down Expand Up @@ -4067,6 +4071,10 @@ object_types_by_name:
computation_function: cardinality
resolver:
name: object_with_lookahead
approximate_percentile:
computation_function: percentile
resolver:
name: object_with_lookahead
exact_max:
computation_function: max
resolver:
Expand Down Expand Up @@ -4413,6 +4421,10 @@ object_types_by_name:
computation_function: cardinality
resolver:
name: object_with_lookahead
approximate_percentile:
computation_function: percentile
resolver:
name: object_with_lookahead
approximate_sum:
computation_function: sum
resolver:
Expand Down Expand Up @@ -4673,6 +4685,10 @@ object_types_by_name:
computation_function: cardinality
resolver:
name: object_with_lookahead
approximate_percentile:
computation_function: percentile
resolver:
name: object_with_lookahead
approximate_sum:
computation_function: sum
resolver:
Expand Down Expand Up @@ -4826,6 +4842,10 @@ object_types_by_name:
computation_function: cardinality
resolver:
name: object_with_lookahead
approximate_percentile:
computation_function: percentile
resolver:
name: object_with_lookahead
approximate_sum:
computation_function: sum
resolver:
Expand Down Expand Up @@ -4858,6 +4878,10 @@ object_types_by_name:
computation_function: cardinality
resolver:
name: object_with_lookahead
approximate_percentile:
computation_function: percentile
resolver:
name: object_with_lookahead
exact_max:
computation_function: max
resolver:
Expand Down Expand Up @@ -4886,6 +4910,10 @@ object_types_by_name:
computation_function: min
resolver:
name: object_with_lookahead
approximate_percentile:
computation_function: percentile
resolver:
name: object_with_lookahead
approximate_sum:
computation_function: sum
resolver:
Expand Down
112 changes: 112 additions & 0 deletions config/schema/artifacts/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -2169,6 +2169,22 @@ type DateAggregatedValues {
"""
approximate_distinct_value_count: JsonSafeLong

"""
An approximate percentile of the field values within this grouping.

Percentiles are computed using an approximate algorithm, so the returned value may not be
exact. Request a specific percentile via the `percentile` argument (e.g.
`percentile: 50` for the median). To request multiple percentiles in a single query,
use a GraphQL alias for each: `p50: approximate_percentile(percentile: 50)`.
"""
approximate_percentile(
"""
The percentile to compute, from `0` to `100` (e.g. `0` for the min, `100`
for the max, `50` for the median, `99` for the 99th percentile).
"""
percentile: Float!
): Date

"""
The maximum of the field values within this grouping.

Expand Down Expand Up @@ -2486,6 +2502,22 @@ type DateTimeAggregatedValues {
"""
approximate_distinct_value_count: JsonSafeLong

"""
An approximate percentile of the field values within this grouping.

Percentiles are computed using an approximate algorithm, so the returned value may not be
exact. Request a specific percentile via the `percentile` argument (e.g.
`percentile: 50` for the median). To request multiple percentiles in a single query,
use a GraphQL alias for each: `p50: approximate_percentile(percentile: 50)`.
"""
approximate_percentile(
"""
The percentile to compute, from `0` to `100` (e.g. `0` for the min, `100`
for the max, `50` for the median, `99` for the 99th percentile).
"""
percentile: Float!
): DateTime

"""
The maximum of the field values within this grouping.

Expand Down Expand Up @@ -3778,6 +3810,22 @@ type FloatAggregatedValues {
"""
approximate_distinct_value_count: JsonSafeLong

"""
An approximate percentile of the field values within this grouping.

Percentiles are computed using an approximate algorithm, so the returned value may not be
exact. Request a specific percentile via the `percentile` argument (e.g.
`percentile: 50` for the median). To request multiple percentiles in a single query,
use a GraphQL alias for each: `p50: approximate_percentile(percentile: 50)`.
"""
approximate_percentile(
"""
The percentile to compute, from `0` to `100` (e.g. `0` for the min, `100`
for the max, `50` for the median, `99` for the 99th percentile).
"""
percentile: Float!
): Float

"""
The sum of the field values within this grouping.

Expand Down Expand Up @@ -4577,6 +4625,22 @@ type IntAggregatedValues {
"""
approximate_distinct_value_count: JsonSafeLong

"""
An approximate percentile of the field values within this grouping.

Percentiles are computed using an approximate algorithm, so the returned value may not be
exact. Request a specific percentile via the `percentile` argument (e.g.
`percentile: 50` for the median). To request multiple percentiles in a single query,
use a GraphQL alias for each: `p50: approximate_percentile(percentile: 50)`.
"""
approximate_percentile(
"""
The percentile to compute, from `0` to `100` (e.g. `0` for the min, `100`
for the max, `50` for the median, `99` for the 99th percentile).
"""
percentile: Float!
): Float

"""
The (approximate) sum of the field values within this grouping.

Expand Down Expand Up @@ -5162,6 +5226,22 @@ type JsonSafeLongAggregatedValues {
"""
approximate_distinct_value_count: JsonSafeLong

"""
An approximate percentile of the field values within this grouping.

Percentiles are computed using an approximate algorithm, so the returned value may not be
exact. Request a specific percentile via the `percentile` argument (e.g.
`percentile: 50` for the median). To request multiple percentiles in a single query,
use a GraphQL alias for each: `p50: approximate_percentile(percentile: 50)`.
"""
approximate_percentile(
"""
The percentile to compute, from `0` to `100` (e.g. `0` for the min, `100`
for the max, `50` for the median, `99` for the 99th percentile).
"""
percentile: Float!
): Float

"""
The (approximate) sum of the field values within this grouping.

Expand Down Expand Up @@ -5413,6 +5493,22 @@ type LocalTimeAggregatedValues {
"""
approximate_distinct_value_count: JsonSafeLong

"""
An approximate percentile of the field values within this grouping.

Percentiles are computed using an approximate algorithm, so the returned value may not be
exact. Request a specific percentile via the `percentile` argument (e.g.
`percentile: 50` for the median). To request multiple percentiles in a single query,
use a GraphQL alias for each: `p50: approximate_percentile(percentile: 50)`.
"""
approximate_percentile(
"""
The percentile to compute, from `0` to `100` (e.g. `0` for the min, `100`
for the max, `50` for the median, `99` for the 99th percentile).
"""
percentile: Float!
): LocalTime

"""
The maximum of the field values within this grouping.

Expand Down Expand Up @@ -5623,6 +5719,22 @@ type LongStringAggregatedValues {
"""
approximate_min: LongString

"""
An approximate percentile of the field values within this grouping.

Percentiles are computed using an approximate algorithm, so the returned value may not be
exact. Request a specific percentile via the `percentile` argument (e.g.
`percentile: 50` for the median). To request multiple percentiles in a single query,
use a GraphQL alias for each: `p50: approximate_percentile(percentile: 50)`.
"""
approximate_percentile(
"""
The percentile to compute, from `0` to `100` (e.g. `0` for the min, `100`
for the max, `50` for the median, `99` for the 99th percentile).
"""
percentile: Float!
): Float

"""
The (approximate) sum of the field values within this grouping.

Expand Down
28 changes: 28 additions & 0 deletions config/schema/artifacts_with_apollo/runtime_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4135,6 +4135,10 @@ object_types_by_name:
computation_function: cardinality
resolver:
name: object_with_lookahead
approximate_percentile:
computation_function: percentile
resolver:
name: object_with_lookahead
exact_max:
computation_function: max
resolver:
Expand Down Expand Up @@ -4169,6 +4173,10 @@ object_types_by_name:
computation_function: cardinality
resolver:
name: object_with_lookahead
approximate_percentile:
computation_function: percentile
resolver:
name: object_with_lookahead
exact_max:
computation_function: max
resolver:
Expand Down Expand Up @@ -4515,6 +4523,10 @@ object_types_by_name:
computation_function: cardinality
resolver:
name: object_with_lookahead
approximate_percentile:
computation_function: percentile
resolver:
name: object_with_lookahead
approximate_sum:
computation_function: sum
resolver:
Expand Down Expand Up @@ -4775,6 +4787,10 @@ object_types_by_name:
computation_function: cardinality
resolver:
name: object_with_lookahead
approximate_percentile:
computation_function: percentile
resolver:
name: object_with_lookahead
approximate_sum:
computation_function: sum
resolver:
Expand Down Expand Up @@ -4928,6 +4944,10 @@ object_types_by_name:
computation_function: cardinality
resolver:
name: object_with_lookahead
approximate_percentile:
computation_function: percentile
resolver:
name: object_with_lookahead
approximate_sum:
computation_function: sum
resolver:
Expand Down Expand Up @@ -4960,6 +4980,10 @@ object_types_by_name:
computation_function: cardinality
resolver:
name: object_with_lookahead
approximate_percentile:
computation_function: percentile
resolver:
name: object_with_lookahead
exact_max:
computation_function: max
resolver:
Expand Down Expand Up @@ -4988,6 +5012,10 @@ object_types_by_name:
computation_function: min
resolver:
name: object_with_lookahead
approximate_percentile:
computation_function: percentile
resolver:
name: object_with_lookahead
approximate_sum:
computation_function: sum
resolver:
Expand Down
Loading