mirror of
https://github.com/apache/superset.git
synced 2026-05-12 03:15:55 +00:00
feat(explore): Don't discard controls with custom sql when changing datasource (#20934)
This commit is contained in:
committed by
GitHub
parent
ec20c0104e
commit
cddc361adc
@@ -210,6 +210,7 @@ test('SQL ad-hoc metric values', () => {
|
||||
},
|
||||
}),
|
||||
).toEqual({
|
||||
datasourceWarning: true,
|
||||
expressionType: 'SQL',
|
||||
sqlExpression: 'select * from sample_column_1;',
|
||||
});
|
||||
@@ -279,6 +280,7 @@ test('SQL ad-hoc filter values', () => {
|
||||
},
|
||||
}),
|
||||
).toEqual({
|
||||
datasourceWarning: true,
|
||||
expressionType: 'SQL',
|
||||
sqlExpression: 'select * from sample_column_1;',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user