Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

Commit b973cfa

Browse files
Merge pull request #35 from fivetran/feature/databricks-compatibility
Feature: Databricks compatibility
2 parents 27ba1ee + 7767922 commit b973cfa

9 files changed

Lines changed: 44 additions & 7 deletions

File tree

.buildkite/pipeline.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,17 @@ steps:
5757
- "CI_REDSHIFT_DBT_USER"
5858
commands: |
5959
bash .buildkite/scripts/run_models.sh redshift
60+
61+
- label: ":databricks: Run Tests - Databricks"
62+
key: "run_dbt_databricks"
63+
plugins:
64+
- docker#v3.13.0:
65+
image: "python:3.8"
66+
shell: [ "/bin/bash", "-e", "-c" ]
67+
environment:
68+
- "BASH_ENV=/tmp/.bashrc"
69+
- "CI_DATABRICKS_DBT_HOST"
70+
- "CI_DATABRICKS_DBT_HTTP_PATH"
71+
- "CI_DATABRICKS_DBT_TOKEN"
72+
commands: |
73+
bash .buildkite/scripts/run_models.sh databricks

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# dbt_jira_source v0.6.1
2+
## 🎉 Feature Updates 🎉
3+
- Databricks compatibility 🧱 ([#35](https://github.com/fivetran/dbt_jira_source/pull/35))
4+
15
# dbt_jira_source v0.6.0
26

37
## 🚨 Breaking Changes 🚨:

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,15 @@
2323
## Step 1: Prerequisites
2424
To use this dbt package, you must have the following:
2525
- At least one Fivetran Jira connector syncing data into your destination.
26-
- A **BigQuery**, **Snowflake**, **Redshift**, or **PostgreSQL** destination.
26+
- A **BigQuery**, **Snowflake**, **Redshift**, **PostgreSQL**, or **Databricks** destination.
27+
28+
### Databricks Dispatch Configuration
29+
If you are using a Databricks destination with this package you will need to add the below (or a variation of the below) dispatch configuration within your `dbt_project.yml`. This is required in order for the package to accurately search for macros within the `dbt-labs/spark_utils` then the `dbt-labs/dbt_utils` packages respectively.
30+
```yml
31+
dispatch:
32+
- macro_namespace: dbt_utils
33+
search_order: ['spark_utils', 'dbt_utils']
34+
```
2735
2836
## Step 2: Install the package
2937
Include the following jira_source package version in your `packages.yml` file.
@@ -92,6 +100,9 @@ packages:
92100
93101
- package: dbt-labs/dbt_utils
94102
version: [">=1.0.0", "<2.0.0"]
103+
104+
- package: dbt-labs/spark_utils
105+
version: [">=0.3.0", "<0.4.0"]
95106
```
96107

97108
# 🙌 How is this package maintained and can I contribute?

dbt_project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: 'jira_source'
2-
version: '0.6.0'
2+
version: '0.6.1'
33
config-version: 2
44
require-dbt-version: [">=1.3.0", "<2.0.0"]
55
vars:

docs/catalog.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/manifest.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/run_results.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

integration_tests/dbt_project.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
name: 'jira_source_integration_tests'
2-
version: '0.6.0'
2+
version: '0.6.1'
33
config-version: 2
44
profile: 'integration_tests'
55

66

77
vars:
8+
jira_schema: jira_source_integrations_tests
89
jira_source:
910
jira_comment_identifier: "comment"
1011
jira_component_identifier: "component"
@@ -75,4 +76,8 @@ seeds:
7576
start_date: timestamp
7677
field:
7778
+column_types:
78-
id: "{{ 'string' if target.name in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
79+
id: "{{ 'string' if target.name in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
80+
81+
dispatch:
82+
- macro_namespace: dbt_utils
83+
search_order: ['spark_utils', 'dbt_utils']

packages.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
packages:
22
- package: fivetran/fivetran_utils
33
version: [">=0.4.0", "<0.5.0"]
4+
5+
- package: dbt-labs/spark_utils
6+
version: [">=0.3.0", "<0.4.0"]

0 commit comments

Comments
 (0)