diff --git a/metadata-ingestion/src/datahub/ingestion/source/unity/config.py b/metadata-ingestion/src/datahub/ingestion/source/unity/config.py index 1fdce3aa1e2d3..1ad2525856013 100644 --- a/metadata-ingestion/src/datahub/ingestion/source/unity/config.py +++ b/metadata-ingestion/src/datahub/ingestion/source/unity/config.py @@ -299,7 +299,7 @@ def is_ge_profiling(self) -> bool: @pydantic.validator("start_time") def within_thirty_days(cls, v: datetime) -> datetime: - if (datetime.now(timezone.utc) - v).days > 30: + if (datetime.now(timezone.utc) - v).days > 365: raise ValueError("Query history is only maintained for 30 days.") return v