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

Added sample_profiles.yml so that adapter works with new --adapter option of dbt init #26

Merged
merged 5 commits into from
Aug 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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