Skip to content

Commit 42cee82

Browse files
anshbansaleagle-25
authored andcommitted
fix(ingest/glue): add info in report (datahub-project#12470)
1 parent 0895f31 commit 42cee82

File tree

1 file changed

+2
-0
lines changed
  • metadata-ingestion/src/datahub/ingestion/source/aws

1 file changed

+2
-0
lines changed

metadata-ingestion/src/datahub/ingestion/source/aws/glue.py

+2
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ def platform_validator(cls, v: str) -> str:
218218

219219
@dataclass
220220
class GlueSourceReport(StaleEntityRemovalSourceReport):
221+
catalog_id: Optional[str] = None
221222
tables_scanned = 0
222223
filtered: List[str] = dataclass_field(default_factory=list)
223224
databases: EntityFilterReport = EntityFilterReport.field(type="database")
@@ -315,6 +316,7 @@ def __init__(self, config: GlueSourceConfig, ctx: PipelineContext):
315316
self.extract_owners = config.extract_owners
316317
self.source_config = config
317318
self.report = GlueSourceReport()
319+
self.report.catalog_id = self.source_config.catalog_id
318320
self.glue_client = config.glue_client
319321
self.s3_client = config.s3_client
320322
self.extract_transforms = config.extract_transforms

0 commit comments

Comments
 (0)