-
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
fix(ingest): ingest deleted looker dashboards #3158
Conversation
ec2c03c
to
f03c50e
Compare
Can you make that addition optional at least? We have no use of deleted dashboards in our datahub. Or are you more interested in marking previously ingested dashboards as |
That's exactly what I am trying to achieve. |
But as a side effect you will be "ingesting" all deleted ones as well. They wont show up in the UI, but they will be stored in the database. Maybe not a huge problem, but worth thinking about. |
Judging by the code that adds a status aspect this was always the intended functionality - it just never had a chance to work. |
Sure, but it might be good to add a note about this in the docs ("be very conservative with the allow-pattern"). We are at least closing in on 5 digit dashboard IDs (I assume they are strictly increasing) as users create and delete dashboards as the see fit, and I certainly don't want to re-ingest it on a, say, daily basis. |
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!
@frsann makes a good point, it may not be a great idea to query looker for all dashboards (deleted + not-deleted) also. |
Didn't review this too carefully, we'll have to think about a different way to accomplish deletes IMO
Would making the ingestion of deleted dashboards optional work for you? |
f03c50e
to
0e9e4be
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!
all_dashboards() does not return deleted dashboards (even says so in the comments).
Checklist