diff --git a/metadata-ingestion/README.md b/metadata-ingestion/README.md index 75ea6bddf4..813f5f2e35 100644 --- a/metadata-ingestion/README.md +++ b/metadata-ingestion/README.md @@ -552,7 +552,6 @@ source: # See https://docs.aws.amazon.com/athena/latest/ug/querying.html # However, the athena driver will transparently fetch these results as you would expect from any other sql client. work_group: athena_workgroup # "primary" - include_views: True # whether to include views, defaults to True # table_pattern/schema_pattern is same as above ``` diff --git a/metadata-ingestion/src/datahub/ingestion/source/athena.py b/metadata-ingestion/src/datahub/ingestion/source/athena.py index bd029daade..e99c3f98e6 100644 --- a/metadata-ingestion/src/datahub/ingestion/source/athena.py +++ b/metadata-ingestion/src/datahub/ingestion/source/athena.py @@ -12,6 +12,8 @@ class AthenaConfig(SQLAlchemyConfig): s3_staging_dir: str work_group: str + include_views = False # not supported for Athena + def get_sql_alchemy_url(self): return make_sqlalchemy_uri( self.scheme,