-
Notifications
You must be signed in to change notification settings - Fork 3k
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): added cli option for ingestion source #11980
feat(cli): added cli option for ingestion source #11980
Conversation
These are output columns for Instead of adding a new option to the command line, what about extending table in I hope this helps:
FYI: @hsheth2 |
@sgomezvillamor The problem with the current |
I was not aware this had been discussed before, sorry for the confusion I may have caused. If you discussed this with someone else, feel free to invite them to join the review here. |
Going to weight in with my two cents here Main question is if we consider the old behavior to have any real use cases, or if we'd just say the old behavior was buggy. If the former -> let's do two commands as done here, and we can mark the old one as deprecated |
Talked to Gabe about this separately. I could see the old behavior having use cases, e.g. if you are disciplined about setting run ids while using the API, that is not represented by the list of custom ingestion sources. In general I think run ids and ingestion source runs are different enough that we can have CLI commands for both, as long as they're distinguished esp in docs. |
Another use case: a user produces data from an ingestion source, then hard deletes it. If they want to clean up data from that deleted ingestion source, they need to look at run ids, because the ingestion source no longer exists. |
So it looks like we should keep both options. Do we want to change the |
Keeping both options 👌 My suggestion:
|
287aff8
to
662176c
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.
LGTM
f66c059
to
311a05a
Compare
I'm adding a new CLI command called "datahub ingest list-source-runs" (name pending) that will give this result
Can also filter by URN and/or source name:
Do we like the resulting columns? Are there any we should add or get rid of?
I attempted to filter by platform but it seems like platform is always null in the graphql response.
Checklist