Skip to content

Commit

Permalink
fix: remove is_prequery and prequeries (apache#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
kristw committed Aug 26, 2019
1 parent 0ca10e1 commit ddaf104
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions packages/superset-ui-query/src/buildQueryObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,10 @@ export default function buildQueryObject<T extends QueryFormData>(formData: T):
extras: processExtras(formData),
granularity: processGranularity(formData),
groupby: Array.from(groupbySet),
is_prequery: false,
is_timeseries: groupbySet.has(DTTM_ALIAS),
metrics: processMetrics(formData),
order_desc: typeof order_desc === 'undefined' ? true : order_desc,
orderby: [],
prequeries: [],
row_limit: Number(row_limit),
since,
time_range,
Expand Down
5 changes: 0 additions & 5 deletions packages/superset-ui-query/src/types/Query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,6 @@ export type QueryObject = {

/** If set, will group by timestamp */
is_timeseries?: boolean;

/** TODO: Doc */
is_prequery?: boolean;
/** TODO: Doc */
prequeries?: string[];
} & TimeRange;

export interface QueryContext {
Expand Down

0 comments on commit ddaf104

Please sign in to comment.