mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-08 23:43:04 +00:00
fix(ingest): note that views are not supported for Athena (#2924)
This commit is contained in:
parent
ad30f2b8ec
commit
7535cf2b85
@ -552,7 +552,6 @@ source:
|
|||||||
# See https://docs.aws.amazon.com/athena/latest/ug/querying.html
|
# 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.
|
# However, the athena driver will transparently fetch these results as you would expect from any other sql client.
|
||||||
work_group: athena_workgroup # "primary"
|
work_group: athena_workgroup # "primary"
|
||||||
include_views: True # whether to include views, defaults to True
|
|
||||||
# table_pattern/schema_pattern is same as above
|
# table_pattern/schema_pattern is same as above
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -12,6 +12,8 @@ class AthenaConfig(SQLAlchemyConfig):
|
|||||||
s3_staging_dir: str
|
s3_staging_dir: str
|
||||||
work_group: str
|
work_group: str
|
||||||
|
|
||||||
|
include_views = False # not supported for Athena
|
||||||
|
|
||||||
def get_sql_alchemy_url(self):
|
def get_sql_alchemy_url(self):
|
||||||
return make_sqlalchemy_uri(
|
return make_sqlalchemy_uri(
|
||||||
self.scheme,
|
self.scheme,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user