Skip to content

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