Skip to content

Commit

Permalink
fix: Add more information to default profile (#85)
Browse files Browse the repository at this point in the history
Add better sample profile in case of dbt init
  • Loading branch information
nicor88 authored Dec 8, 2022
1 parent 4e984a4 commit 57a9d04
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 10 additions & 1 deletion dbt/include/athena/profile_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ fixed:
type: athena
prompts:
s3_staging_dir:
hint: S3 location to store Athena query results and metadata
hint: S3 location to store Athena query results and metadata, e.g. s3://athena_query_result/prefix/

s3_data_dir:
hint: S3 location where to store data/tables, e.g. s3://bucket_name/prefix/

region_name:
hint: AWS region of your Athena instance
Expand All @@ -12,3 +15,9 @@ prompts:

database:
hint: Specify the database (Data catalog) to build models into (lowercase only)
default: awsdatacatalog

threads:
hint: '1 or more'
type: 'int'
default: 1
2 changes: 2 additions & 0 deletions dbt/include/athena/sample_profiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ default:
dev:
type: athena
s3_staging_dir: [s3_staging_dir]
s3_data_dir: [s3_data_dir]
region_name: [region_name]
database: [database name]
schema: [dev_schema]

prod:
type: athena
s3_staging_dir: [s3_staging_dir]
s3_data_dir: [s3_data_dir]
region_name: [region_name]
database: [database name]
schema: [prod_schema]
Expand Down

0 comments on commit 57a9d04

Please sign in to comment.