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): add stateful ingestion support to looker and lookml source #6443

Merged

Conversation

mayurinehate
Copy link
Collaborator

@mayurinehate mayurinehate commented Nov 15, 2022

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 Nov 15, 2022
@github-actions
Copy link

github-actions bot commented Nov 15, 2022

Unit Test Results (metadata ingestion)

       8 files  ±0         8 suites  ±0   57m 13s ⏱️ - 1m 24s
   761 tests +2     758 ✔️ +3  3 💤 ±0  0  - 1 
1 524 runs  +4  1 517 ✔️ +5  7 💤 ±0  0  - 1 

Results for commit 0f20d2d. ± Comparison against base commit 250f7ce.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Nov 15, 2022

Unit Test Results (build & test)

621 tests  ±0   617 ✔️ ±0   15m 49s ⏱️ -10s
157 suites ±0       4 💤 ±0 
157 files   ±0       0 ±0 

Results for commit 0f20d2d. ± Comparison against base commit 250f7ce.

♻️ This comment has been updated with latest results.

@shirshanka shirshanka requested a review from hsheth2 November 15, 2022 22:16
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.

some minor things but overall looking good

Pending -
- refractor common test methods , move to test_helpers
- lookml source stateful ingestion
- update stateful ingestion doc to include improved simpler impl details
@mayurinehate mayurinehate force-pushed the looker_stateful_ingestion branch from 7fbea59 to 0f20d2d Compare November 18, 2022 14:04
@mayurinehate mayurinehate marked this pull request as ready for review November 18, 2022 14:06
@mayurinehate mayurinehate changed the title feat(ingest): add stateful ingestion support to looker source feat(ingest): add stateful ingestion support to looker and lookml source Nov 18, 2022
@mayurinehate mayurinehate requested a review from hsheth2 November 18, 2022 14:06
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.

LGTM!

raise ConfigurationError("Looker Source doesn't support platform instances")
def platform_instance_not_supported(cls, v: Optional[str]) -> Optional[str]:
if v is not None:
raise ConfigurationError("Looker Source doesn't support platform instances")
Copy link
Collaborator

Choose a reason for hiding this comment

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

In the future, we should raise value error here instead

@hsheth2 hsheth2 merged commit 9c1577d into datahub-project:master Nov 21, 2022
cccs-Dustin pushed a commit to CybercentreCanada/datahub that referenced this pull request Feb 1, 2023
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