Skip to content

Commit 29a6480

Browse files
authored
Add new execution_hint property to cardinality agg
1 parent 1da437d commit 29a6480

File tree

3 files changed

+78
-30
lines changed

3 files changed

+78
-30
lines changed

output/schema/schema.json

Lines changed: 66 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_types/aggregations/metric.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,18 @@ export class BoxplotAggregation extends MetricAggregationBase {
5151
compression?: double
5252
}
5353

54+
export enum CardinalityExecutionMode {
55+
global_ordinals,
56+
segment_ordinals,
57+
direct,
58+
save_memory_heuristic,
59+
save_time_heuristic
60+
}
61+
5462
export class CardinalityAggregation extends MetricAggregationBase {
5563
precision_threshold?: integer
5664
rehash?: boolean
65+
execution_hint?: CardinalityExecutionMode
5766
}
5867

5968
export class ExtendedStatsAggregation extends FormatMetricAggregationBase {

0 commit comments

Comments
 (0)