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] Some Salesforce objects are missing fields when built using the DBT formula field utility #103

Open
2 of 4 tasks
Ryan-Bliss opened this issue Nov 15, 2023 · 1 comment
Labels
type:wontfix This will not be worked on

Comments

@Ryan-Bliss
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe the issue

The dbt formula field utility and by extension the query model provided in the fivetran_formula_model table is missing some field on particular objects. For example on our object "account" there are 30-50 fields which exist on the raw account table coming from fivetran, but the fields are not present in the query provided in the fivetran_formula_model table for account. There doesn't seem to be anything different about these fields, many are not even formula fields. The fields are not showing in the failure reason table at all.

Relevant error log or model output

Some examples of fields missing from the final account table are active_nda_c, is_taxable_c, exclusivity_c, etc.

Expected behavior

I would expect that all available fields in the raw table coming from fivetran would also be present in the final output created by the formula field util and by extension the model within the formula field model table.

dbt Project configurations

  salesforce:
    +snowflake_warehouse: "{{ 'DBT_WH' if target.name == 'prod' else target.warehouse }}"
    base:
      +schema: salesforce_base
    staging:
      +schema: salesforce_staging 

Package versions

  • package: fivetran/salesforce_formula_utils
    version: [">=0.9.0", "<0.10.0"]

What database are you using dbt with?

snowflake

dbt Version

dbt: 1.6.6

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.
@Ryan-Bliss Ryan-Bliss added the bug Something isn't working label Nov 15, 2023
@fivetran-joemarkiewicz
Copy link
Collaborator

Hi @Arby77 thanks for opening this issue and I see your concern in not having all fields in the objects generated by the formula field utility!

Unfortunately, the dbt package in this context only materializes the transformation logic provided in the connector. As a result the dbt package does not have much say in what is included within the fivetran_formula_model table. As a result, we won't be able to address the issue in this GitHub repo. Instead, I would encourage you open a support ticket so our support and connector team will be able to work directly with you to get this sorted out in the table synced by the connector. Once that is resolved, the package will be able to capture the latest changes in a subsequent run.

Let me know if you have any questions. Thanks!

@fivetran-joemarkiewicz fivetran-joemarkiewicz added type:wontfix This will not be worked on and removed bug Something isn't working labels Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants