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

upgrade LAHI's dbt #49

Open
fatchat opened this issue Mar 4, 2024 · 1 comment
Open

upgrade LAHI's dbt #49

fatchat opened this issue Mar 4, 2024 · 1 comment

Comments

@fatchat
Copy link

fatchat commented Mar 4, 2024

Tech4Dev is upgrading all Dalgo clients to Airbyte's Destinations v2 feature. As part of this upgrade, all ingested data will be extracted from _airbyte_data according to the detected schema.

The dbt code needs to be updated to be able to read from these new tables; this is the motivation behind this GitHub issue.

For KoboToolbox, the column _airbyte_data current holds JSON having the schema {data, _id, endtime, end, _submission_time}, and we use dbt to extract these into separate SQL columns.

After the migration to Destinations v2, Airbyte will do this first step of flattening. Our dbt code will therefore need to read from these columns rather than from _airbyte_data

The column _airbyte_ab_id has been replaced by _airbyte_raw_id, and the column _airbyte_emitted_at will become _airbyte_extracted_at. These two columns will appear in the extracted tables along with the columns from the source schema

Connector normalization has already been deprecated as part of this upgrade, since this step is being done as part of the ingest stage.

@fatchat
Copy link
Author

fatchat commented Mar 4, 2024

May also need to update sources.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants