Skip to content

deduplicate drilldown #290

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

D2SD
Copy link
Contributor

@D2SD D2SD commented May 11, 2020

No description provided.

let agg_query = ok_or_404!(agg_query_res);
let mut agg_query = ok_or_404!(agg_query_res);

agg_query.drilldowns = Some(deduplicate_vec(&agg_query.drilldowns.expect("Could not convert to vector")));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do you think about doing this here versus in the impl of AggregateQueryOpt? Also we may be able to use unique method from itertools for deduplication ? (or sort + dedup)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants