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

feat(ingest/datahub-source): Allow ingesting aspects from the entitiesV2 API #9089

Merged
merged 2 commits into from
Oct 25, 2023

Conversation

asikowitz
Copy link
Collaborator

Hiding from docs as we should encourage pulling from the database directly, which is more performant.

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

Copy link
Collaborator

@hsheth2 hsheth2 left a comment

Choose a reason for hiding this comment

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

Looks reasonable

@@ -139,6 +143,17 @@ def _get_kafka_workunits(
)
self._commit_progress(i)

def _get_api_workunits(self) -> Iterable[MetadataWorkUnit]:
if self.ctx.graph is None:
logger.error(
Copy link
Collaborator

Choose a reason for hiding this comment

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

use report.report_failure?

@github-actions github-actions bot added the ingestion PR or Issue related to the ingestion of metadata label Oct 24, 2023
@asikowitz
Copy link
Collaborator Author

Merging through unrelated CI errors

@asikowitz asikowitz merged commit 2d1584b into datahub-project:master Oct 25, 2023
51 of 54 checks passed
@asikowitz asikowitz deleted the datahub-source-from-api branch October 25, 2023 03:08
@maggiehays maggiehays added the hacktoberfest-accepted Acceptance for hacktoberfest https://hacktoberfest.com/participation/ label Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Acceptance for hacktoberfest https://hacktoberfest.com/participation/ ingestion PR or Issue related to the ingestion of metadata
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants