-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
bugSomething isn't workingSomething isn't workingtype:wontfixThis will not be worked onThis will not be worked onwontfixThis will not be worked onThis will not be worked on
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the issue
We switched to the fivetran_formula_model table in anticipation of the fivetran_formula table being deprecated in the Salesforce connector. This error started intermittently popping up during fivetran scheduled transformations of our dbt project. The error self-resolves every time and has not happened two runs in a row.
Relevant error log or model output
18:20:45 Compilation Error in model salesforce__ticket_timer (models/sources/salesforce/salesforce__ticket_timer.sql)
18:20:45 In get_column_values(): relation fivetran.salesforce.fivetran_formula_model does not exist and no default value was provided.
18:20:45
18:20:45 > in macro statement (macros/etc/statement.sql)
18:20:45 > called by macro default__get_column_values (macros/sql/get_column_values.sql)
18:20:45 > called by macro get_column_values (macros/sql/get_column_values.sql)
18:20:45 > called by macro sfdc_formula_view (macros/sfdc_formula_view.sql)
18:20:45 > called by model salesforce__ticket_timer (models/sources/salesforce/salesforce__ticket_timer.sql)Expected behavior
No error
dbt Project configurations
N/a
Package versions
# Packages can be found on https://hub.getdbt.com/.
packages:
- package: dbt-labs/dbt_utils
version: [">=1.0.0", "<2.0.0"]
- package: dbt-labs/codegen
version: [">=0.10.0", "<0.11.0"]
- package: fivetran/salesforce_formula_utils
version: [">=0.9.0", "<0.10.0"]
What database are you using dbt with?
snowflake
dbt Version
1.5.1
deployment.yml
dbtVersion: 1.5.1
jobs:
# Note that the timezone that these jobs will run on will be the timezone of the Fivetran destination,
# in this case Eastern Standard Time. Note that Daylight Savings Time is not observed with this time setting.
# For help with cron formatting, visit https://crontab.guru/.
- name: recurring_production_run
# At 7am, 10am, 1pm, 4pm, and 7pm from Monday through Friday
schedule: 0 7,10,13,16,19 * * 1-5
steps:
- name: run dbt seed
command: dbt seed --full-refresh
- name: run models
# This will run all models
command: dbt run
Additional Context
I am able to run the compiled code from the ticket_timer model in snowflake with no issues. I saw similar stale issue, but it refers to the fivetran_formula table.
Are you willing to open a PR to help address this issue?
- Yes.
- Yes, but I will need assistance and will schedule time during our office hours for guidance
- No.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtype:wontfixThis will not be worked onThis will not be worked onwontfixThis will not be worked onThis will not be worked on