Closed BJsupport closed 1 year ago
Hi @BJsupport thanks for opening this issue! Unfortunately the issue you are experiencing is one that ties back to a translation error within the model
field in the fivetran_formula_model
table that the package is referring to.
As such, this is not an issue we will be able to address within the package. Instead, I would recommend opening a Support Ticket for our support and engineering team to be able to identify the translation error and possibly apply a fix.
As we will not be able to address the issue within this package, I will close this ticket and mark as "won't fix". Please feel free to reach back out if you believe this truly is an error caused by the package.
Is there an existing issue for this?
Describe the issue
Using the Salesforce to Snowflake connector, we do dbt run and get a duplicate column name sql error. Going into snowflake and renaming one of the columns fixes this issue, but when the model runs every sync it fails and the query must be redone.
Relevant error log or model output
Expected behavior
The queries should not contain duplicate column names. The output contains a field that has "as [fieldName]" twice.
dbt Project configurations
Default configuration
Package versions
packages:
What database are you using dbt with?
snowflake
dbt Version
Core:
latest: 1.3.1 - Update available!
Your version of dbt-core is out of date! You can find instructions for upgrading here: https://docs.getdbt.com/docs/installation
Plugins:
Additional Context
These errors were resolved by manually taking out the auto created ",mt.lead_advisor_c" and ",mt.BILLING_GROUP_C" - these shared a namespace with the formula in the query, like with "AS LEAD_ADVISOR_C".
Are you willing to open a PR to help address this issue?