mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
expanding regex for automated columns (#4990)
This commit is contained in:
@@ -257,6 +257,15 @@ describe('MetricsControl', () => {
|
||||
},
|
||||
'sum',
|
||||
)).to.be.false;
|
||||
|
||||
expect(!!wrapper.instance().selectFilterOption(
|
||||
{
|
||||
metric_name: 'sum__value',
|
||||
optionName: 'sum__value',
|
||||
expression: 'SUM("table"."value")',
|
||||
},
|
||||
'sum',
|
||||
)).to.be.false;
|
||||
});
|
||||
|
||||
it('filters out metrics if the input begins with an aggregate', () => {
|
||||
|
||||
Reference in New Issue
Block a user