From 152e5f7864eb922b71974a7cc990737777e77351 Mon Sep 17 00:00:00 2001 From: Kevin Karch Date: Wed, 3 Sep 2025 17:40:03 -0400 Subject: [PATCH] fix(docs): update usage_stats optionality --- metadata-ingestion/docs/sources/redshift/redshift_pre.md | 2 +- .../src/datahub/ingestion/source/redshift/redshift.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/metadata-ingestion/docs/sources/redshift/redshift_pre.md b/metadata-ingestion/docs/sources/redshift/redshift_pre.md index 3c5bbe2452111a..5ee7a623e24794 100644 --- a/metadata-ingestion/docs/sources/redshift/redshift_pre.md +++ b/metadata-ingestion/docs/sources/redshift/redshift_pre.md @@ -107,7 +107,7 @@ shows up correctly after datashare consumer namespace is ingested. ### Profiling -Profiling runs sql queries on the redshift cluster to get statistics about the tables. To be able to do that, the user needs to have read access to the tables that should be profiled. +Profiling runs sql queries on the redshift cluster to get statistics about the tables. In order to do that, the user needs to have read access on the tables that should be profiled. If you don't want to grant read access to the tables you can enable table level profiling which will get table statistics without reading the data. diff --git a/metadata-ingestion/src/datahub/ingestion/source/redshift/redshift.py b/metadata-ingestion/src/datahub/ingestion/source/redshift/redshift.py index 2975ec0c88effd..02b0e17245e6b5 100644 --- a/metadata-ingestion/src/datahub/ingestion/source/redshift/redshift.py +++ b/metadata-ingestion/src/datahub/ingestion/source/redshift/redshift.py @@ -143,7 +143,7 @@ @capability(SourceCapability.SCHEMA_METADATA, "Enabled by default") @capability( SourceCapability.USAGE_STATS, - "Enabled by default, can be disabled via configuration `include_usage_statistics`", + "Optionally enabled via `include_usage_statistics`", ) @capability( SourceCapability.DELETION_DETECTION, "Enabled by default via stateful ingestion"