-
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/glue): add info in report #12470
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found.
Continue to review full report in Codecov by Sentry.
|
@@ -686,6 +687,7 @@ def get_all_databases(self) -> Iterable[Mapping[str, Any]]: | |||
# see https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/glue/paginator/GetDatabases.html | |||
paginator = self.glue_client.get_paginator("get_databases") | |||
|
|||
self.report.catalog_id = self.source_config.catalog_id |
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.
Given this is a fixed value from the config, what's the value of having it in the report?
If valuable, could it be moved closer to the initialization of the GlueSourceReport
? perhaps here
self.report = GlueSourceReport() |
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.
It is valuable because we don't always have a static report. Customers can be getting this from a parameter store and running it via python sdk
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.
Makes sense, thanks for explaining!
Not in the scope of this PR, this may be generalized to automatically include source/sink configs in the report, excluding/masking secrets, ofc
Checklist