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 authored and zhaoyongjie committed Nov 25, 2021
1 parent 933a397 commit 515a2a1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
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
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 515a2a1

Please sign in to comment.