mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
fix(native-filters): remove implied fetch predicate (#14982)
This commit is contained in:
parent
61a438a0cd
commit
6955ed287b
@ -43,7 +43,6 @@ export default function buildQuery(formData: QueryFormData) {
|
||||
return buildQueryContext(formData, baseQueryObject => [
|
||||
{
|
||||
...baseQueryObject,
|
||||
apply_fetch_values_predicate: true,
|
||||
columns: [],
|
||||
groupby: [],
|
||||
metrics: [
|
||||
|
@ -44,7 +44,6 @@ describe('Select buildQuery', () => {
|
||||
expect(query.groupby).toEqual(['my_col']);
|
||||
expect(query.filters).toEqual([{ col: 'my_col', op: 'IS NOT NULL' }]);
|
||||
expect(query.metrics).toEqual([]);
|
||||
expect(query.apply_fetch_values_predicate).toEqual(true);
|
||||
expect(query.orderby).toEqual([]);
|
||||
});
|
||||
|
||||
|
@ -61,7 +61,6 @@ const buildQuery: BuildQuery<PluginFilterSelectQueryFormData> = (
|
||||
const query: QueryObject[] = [
|
||||
{
|
||||
...baseQueryObject,
|
||||
apply_fetch_values_predicate: true,
|
||||
groupby: columns,
|
||||
metrics: sortMetric ? [sortMetric] : [],
|
||||
filters: filters.concat(extra_filters),
|
||||
|
Loading…
Reference in New Issue
Block a user