Skip to content

Commit

Permalink
address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
villebro committed May 18, 2022
1 parent 239ac0a commit 00755eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ export default function buildQuery(formData: QueryFormData) {
renameOperator(fd, {
...queryObject,
columns: fd.groupby,
...{ is_timeseries },
is_timeseries,
}),
flattenOperator(fd, queryObject),
].filter(op => op),
].filter(Boolean),
} as QueryObject;
return [normalizeOrderBy(tmpQueryObject)];
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ export default function buildQuery(formData: QueryFormData) {
resampleOperator(formData, baseQueryObject),
renameOperator(formData, {
...baseQueryObject,
...{ is_timeseries },
is_timeseries,
}),
contributionOperator(formData, baseQueryObject),
flattenOperator(formData, baseQueryObject),
// todo: move prophet before flatten
prophetOperator(formData, baseQueryObject),
].filter(op => op),
].filter(Boolean),
},
];
});
Expand Down

0 comments on commit 00755eb

Please sign in to comment.