fivetran / dbt_klaviyo

https://fivetran.github.io/dbt_klaviyo/
Apache License 2.0
5 stars 6 forks source link

[Bug] dbt run failure due to deprecated INTEGRATION table #31

Closed robertspragg closed 10 months ago

robertspragg commented 10 months ago

Is there an existing issue for this?

Describe the issue

Relevant error log or model output

From dbt cloud
`ERROR creating view model analytics_stg_klaviyo.stg_klaviyo__integration_tmp [ERROR in 3.09s]`

`15:49:38  Completed with 1 error and 0 warnings:
15:49:38  Database Error in model stg_klaviyo__integration_tmp (models/tmp/stg_klaviyo__integration_tmp.sql)
15:49:38    SQL compilation error:
15:49:38    Object 'RAW.KLAVIYO.INTEGRATION' does not exist or not authorized.
15:49:38    compiled SQL at target/run/klaviyo_source/models/tmp/stg_klaviyo__integration_tmp.sql`

Expected behavior

When integration table was deprecated, the underlying queries should have been updated to point to the METRIC table

dbt Project configurations

version: "1.0.0" vars: klaviyo_database: RAW klaviyo_schema: KLAVIYO

Package versions

packages:

What database are you using dbt with?

snowflake

dbt Version

1.0.9

Additional Context

Fivetran Support Engineer suggested I make this PR

Are you willing to open a PR to help address this issue?

fivetran-reneeli commented 10 months ago

Hi @robertspragg! We've been made aware of the connector updates and are working this week to push out a new release for this package, which will address this!

robertspragg commented 10 months ago

Thank you for the update!

fivetran-reneeli commented 10 months ago

Hi @robertspragg , this has been addressed in the latest release of the package. As such we'll be closing this out! Let us know if there's anything else.

robertspragg commented 10 months ago

Thank you so much!