diff --git a/README.md b/README.md index 9d5561f..7dc7939 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ## dbt-presto ### Documentation -For more information on using Spark with dbt, consult the dbt documentation: +For more information on using Presto with dbt, consult the dbt documentation: - [Presto profile](https://docs.getdbt.com/docs/profile-presto) ### Installation diff --git a/dbt/include/presto/sample_profiles.yml b/dbt/include/presto/sample_profiles.yml new file mode 100644 index 0000000..9fe428a --- /dev/null +++ b/dbt/include/presto/sample_profiles.yml @@ -0,0 +1,26 @@ +default: + outputs: + + dev: + type: presto + method: none # optional, one of {none | ldap | kerberos} + user: [dev_user] + password: [password] # required if method is ldap or kerberos + database: [database name] + host: [hostname] + port: [port number] + schema: [dev_schema] + threads: [1 or more] + + prod: + type: presto + method: none # optional, one of {none | ldap | kerberos} + user: [prod_user] + password: [prod_password] # required if method is ldap or kerberos + database: [database name] + host: [hostname] + port: [port number] + schema: [prod_schema] + threads: [1 or more] + + target: dev diff --git a/setup.py b/setup.py index b66ce95..2ccd284 100644 --- a/setup.py +++ b/setup.py @@ -52,6 +52,7 @@ def _dbt_presto_version(): package_data={ 'dbt': [ 'include/presto/dbt_project.yml', + 'include/presto/sample_profiles.yml', 'include/presto/macros/*.sql', 'include/presto/macros/*/*.sql', ]