Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Commit

Permalink
Merge pull request #26 from brunomurino/dbt-issue-2533
Browse files Browse the repository at this point in the history
Added sample_profiles.yml so that adapter works with new --adapter option of dbt init
  • Loading branch information
jtcohen6 authored Aug 11, 2020
2 parents 4f56cb6 + 6935230 commit ef8f856
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
26 changes: 26 additions & 0 deletions dbt/include/presto/sample_profiles.yml
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
]
Expand Down

0 comments on commit ef8f856

Please sign in to comment.