Skip to content

Commit

Permalink
fix(ingest/glue): add info in report (#12470)
Browse files Browse the repository at this point in the history
  • Loading branch information
anshbansal authored Jan 27, 2025
1 parent 6ab2c70 commit 0c98cdc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions metadata-ingestion/src/datahub/ingestion/source/aws/glue.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ def platform_validator(cls, v: str) -> str:

@dataclass
class GlueSourceReport(StaleEntityRemovalSourceReport):
catalog_id: Optional[str] = None
tables_scanned = 0
filtered: List[str] = dataclass_field(default_factory=list)
databases: EntityFilterReport = EntityFilterReport.field(type="database")
Expand Down Expand Up @@ -315,6 +316,7 @@ def __init__(self, config: GlueSourceConfig, ctx: PipelineContext):
self.extract_owners = config.extract_owners
self.source_config = config
self.report = GlueSourceReport()
self.report.catalog_id = self.source_config.catalog_id
self.glue_client = config.glue_client
self.s3_client = config.s3_client
self.extract_transforms = config.extract_transforms
Expand Down

0 comments on commit 0c98cdc

Please sign in to comment.