Browse Source

update connector athena docs (#3333)

Co-authored-by: Aleksandr Goltsov <agoltsov@evolution.com>
pid998877 2 years ago
parent
commit
6615635910

+ 2 - 2
docs/docs-site/content/administrator/configuration/connectors/_index.md

@@ -261,11 +261,11 @@ Then give Hue the information about the database source:
     [[[athena]]]
     [[[athena]]]
     name = AWS Athena
     name = AWS Athena
     interface=sqlalchemy
     interface=sqlalchemy
-    options='{"url": "awsathena+rest://${AWS_ACCESS_KEY_ID}:${AWS_SECRET_ACCESS_KEY}@athena.${REGION}.amazonaws.com:443/${SCHEMA}?s3_staging_dir=${S3_BUCKET_DIRECTORY}"}'
+    options='{"url": "awsathena+rest://${AWS_ACCESS_KEY_ID}:${AWS_SECRET_ACCESS_KEY}@athena.${REGION}.amazonaws.com:443/${SCHEMA}?s3_staging_dir=${S3_BUCKET_DIRECTORY}&work_group=${WORK_GROUP}&catalog_name=${CATALOG_NAME}"}'
 
 
 e.g.
 e.g.
 
 
-    options='{"url": "awsathena+rest://XXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX@athena.us-west-2.amazonaws.com:443/default?s3_staging_dir=s3://gethue-athena/scratch"}'
+    options='{"url": "awsathena+rest://XXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX@athena.us-west-2.amazonaws.com:443/default?s3_staging_dir=s3://gethue-athena/scratch&work_group=demo_group&catalog_name=AwsDataCatalog"}'
 
 
 Note: Keys and S3 buckets need to be URL quoted but Hue does it automatically for you.
 Note: Keys and S3 buckets need to be URL quoted but Hue does it automatically for you.