Closed mattppal closed 1 year ago
Some more context: this error appears in the following tables:
account.addresses
lead.addresses
account.assigned_service_groups
service.assigned_service_groups
So it's possible:
Something I'm noticing in the config block:
{{ config(
sort = "_airbyte_emitted_at",
unique_key = '_airbyte_ab_id',
alias = "addresses_ab1",
schema = "_airbyte_airbyte_account",
tags = [ "top-level-intermediate" ]
) }}
Only the tables that are failing have an alias
attribute defined. Why is airbyte setting the alias in these tables and not others? I think this is leading to the failure 'dict object' has no attribute 'addresses_ab1'.
Additionally, the naming convention for the failed tables differs from the successful ones
I can confirm that the issue is caused by streams with the same name, even in different schemas. This was resolved by splitting my streams into multiple connections where names are unique.
Closing, as normalization as we know it is going away fairly soon. Follow along here: https://github.com/airbytehq/airbyte/issues/26028
Environment
Current Behavior
There are four tables where I receive the following error:
I pulled the relevant file from the volume:
models/generated/airbyte_ctes/airbyte_account/_airbyte_airbyte_account_addresses_ab1.sql
, but it's not immediately apparent what could be causing this error. All other tables complete successfully.Expected Behavior
The sync should complete successfully.
Logs
(too long to attach)
Steps to Reproduce