-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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(cli): Adds ability to upload recipes to DataHub's UI #8317
feat(cli): Adds ability to upload recipes to DataHub's UI #8317
Conversation
2d710c0
to
a4ff7e6
Compare
274c5fa
to
42b3462
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
few minor nits, but good to merge once those are fixed
It'd be great to add some testing for this too
config: str, | ||
urn: str, | ||
executor_id: str, | ||
cli_version: str, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for the non-required ones with no defaults, let's fix the type annotations to be Optional[str]
click.echo( | ||
f"✅ Successfully wrote data ingestion source metadata for recipe {name}:" | ||
) | ||
click.echo(response) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this show the urn of the newly created ingestion recipe?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not the urn, the user visible name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if it's not too much work, can we should the urn too?
Deploy an ingestion recipe to your DataHub instance. | ||
|
||
The urn of the ingestion source will be based on the name parameter in the format: | ||
urn:li:dataHubIngestionSource:<name> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where is this name -> urn logic? is that in the backend?
re tests - you can take a look at smoke-test/tests/cli/delete_cmd/test_timeseries_delete.py as an example |
Co-authored-by: Indy Prentice <[email protected]>
* tag 'v0.10.5': (222 commits) fix(test): increase siblings.js test stability (datahub-project#8542) feat(search): Allow aggregating on facets that are not explicitly part of default filter set (datahub-project#8540) fix(ui) Make multiple small updates to new search and browse (datahub-project#8524) feat(presto-on-hive): allow v1 fieldpaths in the presto-on-hive source (datahub-project#8474) feat(cli): Adds ability to upload recipes to DataHub's UI (datahub-project#8317) feat(browseV2): add browseV2 logic to system update (datahub-project#8506) fix(ingest/json-schema): convert non-string enums to strings (datahub-project#8479) feat(ingestion/tableau): support column level lineage for custom sql (datahub-project#8466) test(ingest): test case statements with sql parser (datahub-project#8437) feat(ingest/vertica): performance improvement and bug fixes (datahub-project#8328) ci: reduce git fetch depth (datahub-project#8473) fix(ingest): remove duplication of tags (datahub-project#8532) docs: small update to homepage (datahub-project#8483) fix(ingest): pin boto3-stubs in CI (datahub-project#8527) feat(siblings): hiding non-existant siblings in FE (datahub-project#8528) fix(ingest/build): Fix sagemaker mypy and flake8 issues (datahub-project#8530) feat(metrics): add metrics for aspect write and bytes (datahub-project#8526) feat(elasticsearch): allow bulk delete (datahub-project#8424) fix(ui): use locale lowercase when filtering columns of an entity in the lineage (datahub-project#8213) fix(auth): ignore case when comparing http headers (datahub-project#8356) ...
Also updates listIngestionSources graphQL endpoint to use filters. This is to bring it in-line with other list endpoints. I added up not using it but I think it's useful.
Checklist
Adds support to upload recipes to DataHub's UI ingestion section using the cli.