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/sql-common): Fix profile_table_level_only #8331

Merged

Conversation

asikowitz
Copy link
Collaborator

This fixes the bug but I do not know why we're supporting profiling some table level values when profile_table_level_only is provided. Also makes it so we don't send field profiles if we're not ingesting any columns.

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

@github-actions github-actions bot added the ingestion PR or Issue related to the ingestion of metadata label Jun 28, 2023
@@ -351,65 +351,7 @@
},
"rowCount": 2,
"columnCount": 9,
"fieldProfiles": [
Copy link
Collaborator

Choose a reason for hiding this comment

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

just confirming that this change is actually correct

kinda hard to understand the correspondence between the yml files and the golden files - they really should've been named better

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yup, this is what no fields profiled looks like

@hsheth2 hsheth2 added the merge-pending-ci A PR that has passed review and should be merged once CI is green. label Jun 29, 2023
@asikowitz asikowitz merged commit 1f84bf5 into datahub-project:master Jul 7, 2023
43 of 44 checks passed
@asikowitz asikowitz deleted the fix-profiling-table-level-only branch July 7, 2023 23:05
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 merge-pending-ci A PR that has passed review and should be merged once CI is green.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants