fivetran / fivetran/dbt_netsuite
[Bug] Models require fivetran_utils 0.4.12
- Dominant language
- No language data
- Stars
- 57
- Forks
- 42
- Avg merge
- 6d 9h
- Merged PRs (30d)
- 2
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Describe the issue
Models won't compile on versions earlier than `fivetran/fivetran_utils` 0.4.12.
### Relevant error log or model output
```shell
Compilation Error in model stg_netsuite2__account_types_tmp (models/netsuite2/staging/tmp/stg_netsuite2__account_types_tmp.sql)
'dict object' has no attribute 'union_connections'. This can happen when calling a macro that does not exist. Check for typos and/or install package dependencies with "dbt deps".
```
### Expected behavior
Staging models compile successfully.
### Possible solution
Update packages.yml to the following.
```
packages:
- package: fivetran/fivetran_utils
version: [">=0.4.12", "<0.5.0"]
- package: dbt-labs/spark_utils
version: [">=0.3.0", "<0.4.0"]
```
### dbt Project configurations
n/a
### Package versions
```
packages:
- package: fivetran/fivetran_utils
version: [">=0.4.0", "<0.5.0"]
- package: dbt-labs/spark_utils
version: [">=0.3.0", "<0.4.0"]
```
### What database are you using dbt with?
snowflake
### How are you running this dbt package?
dbt Core™
### dbt Version
1.7.14
### Additional Context
_No response_
### Are you willing to open a PR to help address this issue?
- [x] Yes.
- [ ] Yes, but I will need assistance.
- [ ] No.
Contributor guide
No contributing guide indexed for this repository
Research direction
Update packages.yml to require fivetran/fivetran_utils version >=0.4.12 and <0.5.0, keeping the existing spark_utils range. Run dbt deps, then compile the staging models, including stg_netsuite2__account_types_tmp; done means the models compile successfully without the union_connections error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- yaml
- Domain
- data-engineering
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100