diff --git a/dbt/include/spark/sample_profiles.yml b/dbt/include/spark/sample_profiles.yml new file mode 100644 index 000000000..52d078916 --- /dev/null +++ b/dbt/include/spark/sample_profiles.yml @@ -0,0 +1,24 @@ +default: + outputs: + + # Use this if connecting to a hosted spark (e.g. Databricks) + dev: + type: spark + method: http + schema: [dev_schema] + host: [host] + organization: [organization id] # Azure Databricks ONLY + port: [port] + token: [token] + cluster: [cluster id] + + # Use this if connecting to Dockerized spark + prod: + type: spark + method: thrift + schema: [dev_schema] + host: [host] + port: [port] + user: [prod_user] + + target: dev diff --git a/setup.py b/setup.py index 33d1b273b..fc92d5841 100644 --- a/setup.py +++ b/setup.py @@ -54,6 +54,7 @@ def _dbt_spark_version(): package_data={ 'dbt': [ 'include/spark/dbt_project.yml', + 'include/spark/sample_profiles.yml', 'include/spark/macros/*.sql', 'include/spark/macros/**/*.sql', ]