Skip to content

Commit

Permalink
fix(ingest): exclude aspect from migration (#12206)
Browse files Browse the repository at this point in the history
  • Loading branch information
anshbansal authored Dec 23, 2024
1 parent 73dce9e commit 0562c7a
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@
DEFAULT_DATABASE_TABLE_NAME = "metadata_aspect_v2"
DEFAULT_KAFKA_TOPIC_NAME = "MetadataChangeLog_Timeseries_v1"
DEFAULT_DATABASE_BATCH_SIZE = 10_000
DEFAULT_EXCLUDE_ASPECTS = {
"dataHubIngestionSourceKey",
"dataHubIngestionSourceInfo",
"datahubIngestionRunSummary",
"datahubIngestionCheckpoint",
"dataHubSecretKey",
"dataHubSecretValue",
"globalSettingsKey",
"globalSettingsInfo",
"testResults",
}


class DataHubSourceConfig(StatefulIngestionConfigBase):
Expand Down Expand Up @@ -44,7 +55,7 @@ class DataHubSourceConfig(StatefulIngestionConfigBase):
)

exclude_aspects: Set[str] = Field(
default_factory=set,
default=DEFAULT_EXCLUDE_ASPECTS,
description="Set of aspect names to exclude from ingestion",
)

Expand Down

0 comments on commit 0562c7a

Please sign in to comment.