forked from sungchun12/jaffle_shop_duckdb
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathprofiles.yml
33 lines (30 loc) · 1.33 KB
/
profiles.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
jaffle_shop:
# sqlmesh will reuse the database and schema config for databricks
target: snowflake
outputs:
snowflake:
type: snowflake
account: WXB73651 # TODO: replace with your account
user: "{{ env_var('SNOWFLAKE_USER') }}"
password: "{{ env_var('SNOWFLAKE_PASSWORD') }}"
role: accountadmin # highly recommend creating a least privileges role
database: migrate_demo # replace with an existing database or use your own profiles.yml config
warehouse: COMPUTE_WH # TODO: replace with your warehouse
schema: new_life_ahead # TODO: name this whatever you want :)
threads: 16
client_session_keep_alive: True
databricks:
type: databricks
catalog: migrate_demo #optional catalog name if you are using Unity Catalog]
schema: new # Required
host: "{{ env_var('DATABRICKS_SERVER_HOSTNAME') }}" # Required
http_path: "{{ env_var('DATABRICKS_HTTP_PATH') }}"# Required
token: "{{ env_var('DATABRICKS_ACCESS_TOKEN') }}" # Required Personal Access Token (PAT) if using token-based authentication
threads: 16 # Optional, default 1
bigquery:
type: bigquery
method: service-account
project: sqlmesh-public-demo
dataset: dbt_to_sqlmesh_migrate_demo
threads: 16 # Must be a value of 1 or greater
keyfile: service-account.json