Skip to content

Commit

Permalink
tweak assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
walterra committed Feb 23, 2023
1 parent f13eee7 commit 40bd3ae
Showing 1 changed file with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,71 +71,71 @@ describe('Transform: Define Pivot Common', () => {
aggOptionsData: {
'avg( the-f[i]e>ld )': {
agg: 'avg',
field: ' the-f[i]e>ld ',
aggName: 'the-field.avg',
dropDownName: 'avg( the-f[i]e>ld )',
field: ' the-f[i]e>ld ',
},
'cardinality( the-f[i]e>ld )': {
agg: 'cardinality',
field: ' the-f[i]e>ld ',
aggName: 'the-field.cardinality',
dropDownName: 'cardinality( the-f[i]e>ld )',
field: ' the-f[i]e>ld ',
},
'max( the-f[i]e>ld )': {
agg: 'max',
field: ' the-f[i]e>ld ',
aggName: 'the-field.max',
dropDownName: 'max( the-f[i]e>ld )',
field: ' the-f[i]e>ld ',
},
'min( the-f[i]e>ld )': {
agg: 'min',
field: ' the-f[i]e>ld ',
aggName: 'the-field.min',
dropDownName: 'min( the-f[i]e>ld )',
field: ' the-f[i]e>ld ',
},
'percentiles( the-f[i]e>ld )': {
agg: 'percentiles',
field: ' the-f[i]e>ld ',
aggName: 'the-field.percentiles',
dropDownName: 'percentiles( the-f[i]e>ld )',
field: ' the-f[i]e>ld ',
isSubAggsSupported: false,
isMultiField: false,
aggConfig: { percents: '1,5,25,50,75,95,99' },
},
'sum( the-f[i]e>ld )': {
agg: 'sum',
field: ' the-f[i]e>ld ',
aggName: 'the-field.sum',
dropDownName: 'sum( the-f[i]e>ld )',
field: ' the-f[i]e>ld ',
},
'value_count( the-f[i]e>ld )': {
agg: 'value_count',
field: ' the-f[i]e>ld ',
aggName: 'the-field.value_count',
dropDownName: 'value_count( the-f[i]e>ld )',
field: ' the-f[i]e>ld ',
},
'filter( the-f[i]e>ld )': {
agg: 'filter',
field: ' the-f[i]e>ld ',
aggName: 'the-field.filter',
dropDownName: 'filter( the-f[i]e>ld )',
field: ' the-f[i]e>ld ',
isSubAggsSupported: true,
aggConfig: {},
},
'terms( the-f[i]e>ld )': {
agg: 'terms',
field: ' the-f[i]e>ld ',
aggName: 'the-field.terms',
dropDownName: 'terms( the-f[i]e>ld )',
field: ' the-f[i]e>ld ',
isSubAggsSupported: false,
isMultiField: false,
aggConfig: { size: 10 },
},
'top_metrics( the-f[i]e>ld )': {
agg: 'top_metrics',
field: ' the-f[i]e>ld ',
aggName: 'top_metrics',
dropDownName: 'top_metrics( the-f[i]e>ld )',
field: ' the-f[i]e>ld ',
isSubAggsSupported: false,
isMultiField: true,
aggConfig: {},
Expand Down Expand Up @@ -166,29 +166,29 @@ describe('Transform: Define Pivot Common', () => {
groupByOptionsData: {
'histogram( the-f[i]e>ld )': {
agg: 'histogram',
field: ' the-f[i]e>ld ',
aggName: 'the-field',
dropDownName: 'histogram( the-f[i]e>ld )',
field: ' the-f[i]e>ld ',
interval: '10',
},
'terms( the-f[i]e>ld )': {
agg: 'terms',
field: ' the-f[i]e>ld ',
aggName: 'the-field',
dropDownName: 'terms( the-f[i]e>ld )',
field: ' the-f[i]e>ld ',
},
'histogram(rt_bytes_bigger)': {
agg: 'histogram',
field: 'rt_bytes_bigger',
aggName: 'rt_bytes_bigger',
dropDownName: 'histogram(rt_bytes_bigger)',
field: 'rt_bytes_bigger',
interval: '10',
},
'terms(rt_bytes_bigger)': {
agg: 'terms',
field: 'rt_bytes_bigger',
aggName: 'rt_bytes_bigger',
dropDownName: 'terms(rt_bytes_bigger)',
field: 'rt_bytes_bigger',
},
},
aggOptions: [
Expand Down

0 comments on commit 40bd3ae

Please sign in to comment.