Skip to content

Commit

Permalink
Web console: Remove first / last suggestions (apache#10794)
Browse files Browse the repository at this point in the history
* Remove first / last suggestions

* remove commened out code
  • Loading branch information
vogievetsky authored Jan 28, 2021
1 parent 2ce7b3d commit 2a1e47a
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions web-console/src/druid-models/metric-spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,10 @@ export const METRIC_SPEC_FIELDS: Field<MetricSpec>[] = [
group: 'max',
suggestions: ['longMax', 'doubleMax', 'floatMax'],
},
{
group: 'first',
suggestions: ['longFirst', 'doubleFirst', 'floatFirst'],
},
{
group: 'last',
suggestions: ['longLast', 'doubleLast', 'floatLast'],
},
// Do not show first and last aggregators as they can not be used in ingestion specs and this definition is only used in the data loader.
// Ref: https://druid.apache.org/docs/latest/querying/aggregations.html#first--last-aggregator
// Should the first / last aggregators become usable at ingestion time, reverse the changes made in:
// https://github.com/apache/druid/pull/10794
'thetaSketch',
{
group: 'HLLSketch',
Expand Down

0 comments on commit 2a1e47a

Please sign in to comment.