-
Notifications
You must be signed in to change notification settings - Fork 14
/
profile_template.yml
30 lines (30 loc) · 1 KB
/
profile_template.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
fixed:
type: bigquery
fixed_retries: 1
location: us-west2
method: oauth
priority: interactive
project: cal-itp-data-infra-staging
threads: 8
# currently slowest model is int_gtfs_rt__trip_updates_no_stop_times
# which takes ~2700 seconds to full refresh
timeout_seconds: 3000
gcs_bucket: test-calitp-dbt-python-models
dataproc_region: us-west2
submission_method: serverless
dataproc_batch:
runtime_config:
container_image: gcr.io/cal-itp-data-infra/dbt-spark:2023.3.28
properties:
spark.executor.cores: "4" # this is the default but put it here for clarity
spark.executor.instances: "4" # dbt defaults to 2
spark.executor.memory: 4g
spark.dynamicAllocation.maxExecutors: "16"
prompts:
schema:
type: string
hint: usually your name; will be added as a prefix to schemas e.g. <schema>_mart_gtfs
maximum_bytes_billed:
type: int
default: 2000000000000
hint: the maximum number of bytes allowed per BigQuery query; default is 2 TB