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): support stdin in datahub put #9359

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

hsheth2
Copy link
Collaborator

@hsheth2 hsheth2 commented Nov 30, 2023

Also adds support for parsing .json files, and refactors some other code.

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

Also adds support for parsing .json files, and refactors some other code.
@github-actions github-actions bot added the ingestion PR or Issue related to the ingestion of metadata label Nov 30, 2023
aspect_value=aspect_obj,
)
click.secho(f"Update succeeded with status {status}", fg="green")
aspect_obj = load_config_file(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Very nice

Comment on lines +104 to +105
allow_remote: bool = True, # TODO: Change the default to False.
resolve_env_vars: bool = True, # TODO: Change the default to False.
Copy link
Collaborator

Choose a reason for hiding this comment

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

What's blocking us from doing this now? Especially allow_remote which is new

Copy link
Collaborator Author

@hsheth2 hsheth2 Dec 1, 2023

Choose a reason for hiding this comment

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

we need to tweak datahub-actions to explicitly set resolve_env_vars=True before we can change the default there

we could change it for allow_remote right now, but didn't want to have too many unrelated changes in this PR right now

@hsheth2 hsheth2 merged commit 4ec3208 into datahub-project:master Dec 4, 2023
54 checks passed
@hsheth2 hsheth2 deleted the put-cli-json branch December 4, 2023 19:31
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