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(ingest/profiling): compute sample row count correctly #10319

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

hsheth2
Copy link
Collaborator

@hsheth2 hsheth2 commented Apr 17, 2024

This bug would cause incorrect numbers for the null percentages and distinct percentages. Because of some subtle caching, we would use the full table's row count instead of the sample's row count.

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). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

This bug would cause incorrect numbers for the null percentages and
distinct percentages. Because of some subtle caching, we would use
the full table's row count instead of the sample's row count.
@github-actions github-actions bot added the ingestion PR or Issue related to the ingestion of metadata label Apr 17, 2024
@hsheth2 hsheth2 changed the title fix(ingest/profiling): fix bug in profiler for samples fix(ingest/profiling): compute sample row count correctly Apr 17, 2024
@treff7es treff7es merged commit 77f1a0c into master Apr 18, 2024
57 of 58 checks passed
@treff7es treff7es deleted the sample-row-count branch April 18, 2024 06:40
sleeperdeep pushed a commit to sleeperdeep/datahub that referenced this pull request Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ingestion PR or Issue related to the ingestion of metadata
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants