Skip to content
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

fix(removed): Make sure removed entities do not appear on recommendations #4353

Merged
merged 4 commits into from
Mar 11, 2022

Conversation

dexter-mh-lee
Copy link
Contributor

Also apply removed filter on the metadata analytics charts.

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable)

@github-actions
Copy link

github-actions bot commented Mar 9, 2022

Unit Test Results (build & test)

  75 files   - 1    75 suites   - 1   21m 13s ⏱️ - 1m 41s
623 tests  - 1  563 ✔️  - 1  59 💤 ±0  1 ±0 

For more details on these failures, see this check.

Results for commit 97fb19a. ± Comparison against base commit 93acefd.

♻️ This comment has been updated with latest results.

@@ -106,7 +110,7 @@ private SearchRequest buildSearchRequest(@Nonnull Urn userUrn) {
// Find the entities with the most views
AggregationBuilder aggregation = AggregationBuilders.terms(ENTITY_AGG_NAME)
.field(DataHubUsageEventConstants.ENTITY_URN + ESUtils.KEYWORD_SUFFIX)
.size(MAX_CONTENT);
.size(MAX_CONTENT * 2);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Curious - why this change necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

so that after filtering we still have the num left

@shirshanka shirshanka merged commit fab9c23 into datahub-project:master Mar 11, 2022
@dexter-mh-lee dexter-mh-lee deleted the dl--removed-check branch April 4, 2022 23:47
maggiehays pushed a commit to maggiehays/datahub that referenced this pull request Aug 1, 2022
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.

3 participants