Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Fixing compilation error on hubspot_contact_lists #141

Closed
2 of 4 tasks
fivetran-avinash opened this issue May 9, 2024 · 0 comments · Fixed by #142
Closed
2 of 4 tasks

[Bug] Fixing compilation error on hubspot_contact_lists #141

fivetran-avinash opened this issue May 9, 2024 · 0 comments · Fixed by #142
Assignees
Labels
error:unforced priority:p4 Affects few users; pick up when available status:in_progress Currently being worked on type:bug Something is broken or incorrect update_type:models Primary focus requires model updates

Comments

@fivetran-avinash
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Describe the issue

Description: For customers who do not have a contact_list_member table available in Quickstart, a compilation error can occur. In hubspot_contact_lists, there is a missing hubspot_contact_list_member_enabled conditional present in the upstream models that leads to the model calling on int_hubspot__email_metrics__by_contact_list when it shouldn't be (i.e. the variable is set to false). Adding this variable to the conditional should fix this issue.

Relevant error log or model output

compilation error model 'model.hubspot.hubspot__contact_lists' (models/marketing/hubspot__contact_lists.sql) depends on a node named 'int_hubspot__email_metrics__by_contact_list' which is disabled

Expected behavior

hubspot__contact_lists should compile with no errors.

dbt Project configurations

We are testing this with the following variable configuration.

Package versions

packages:

  • package: fivetran/hubspot_source
    version: [">=0.14.0", "<0.15.0"]

What database are you using dbt with?

bigquery

dbt Version

1.7.14

Additional Context

No response

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.
@fivetran-avinash fivetran-avinash added priority:p3 Affects many users; can wait type:bug Something is broken or incorrect status:in_progress Currently being worked on update_type:models Primary focus requires model updates error:unforced labels May 9, 2024
@fivetran-avinash fivetran-avinash self-assigned this May 9, 2024
@fivetran-avinash fivetran-avinash added priority:p4 Affects few users; pick up when available and removed priority:p3 Affects many users; can wait labels May 9, 2024
@fivetran-avinash fivetran-avinash linked a pull request May 10, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
error:unforced priority:p4 Affects few users; pick up when available status:in_progress Currently being worked on type:bug Something is broken or incorrect update_type:models Primary focus requires model updates
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant