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 airbyte to 0.50.44 #70

Closed
24 of 31 tasks
fatchat opened this issue Feb 1, 2024 · 10 comments
Closed
24 of 31 tasks

upgrade airbyte to 0.50.44 #70

fatchat opened this issue Feb 1, 2024 · 10 comments
Assignees

Comments

@fatchat
Copy link

fatchat commented Feb 1, 2024

Check Airbyte 0.50.40 with Destinations v2

  • set up new airbyte on a new machine with GSM

  • set up postgres destination with destinations v2

  • set up and sync an avni source

  • set up and sync a kobo source

  • set up and sync a commcare source

  • set up and sync a glific source

  • set up and sync a surveycto source

  • set up and sync a google sheets source

  • set up a bigquery destination with destinations v2

  • set up and sync an avni source

  • set up and sync a kobo source

  • set up and sync a commcare source

  • set up and sync a glific source

  • set up and sync a surveycto source

  • set up and sync a google sheets source

Check that we can migrate up to 0.50.40 from an existing installation

  • migrate staging to the new airbyte and sync all connections
  • check if airbyte will support a postgres on destinations v1 and another on v2 simultaneously
  • check if airbyte will support a bigquery on destinations v1 and another on v2 simultaneously

Update dbt code to read from flattened staging tables

People need to be notified

  • Send out an email on Feb 27 for migration downtime on Sunday March 10

Platform updates

  • Create warehouse - check that it works
  • Create connection - remove norm op
@fatchat fatchat added this to Dalgo Feb 1, 2024
@fatchat fatchat converted this from a draft issue Feb 1, 2024
@fatchat
Copy link
Author

fatchat commented Feb 1, 2024

airbytehq#30814

@Ishankoradia Ishankoradia changed the title upgrade superset to 0.50.34 upgrade airbyte to 0.50.34 Feb 2, 2024
@fatchat fatchat changed the title upgrade airbyte to 0.50.34 upgrade airbyte to 0.50.40 Feb 15, 2024
@fatchat
Copy link
Author

fatchat commented Feb 24, 2024

Postgres destination works (v2)
Avni source works

@fatchat fatchat moved this to In Progress in Dalgo Feb 24, 2024
@fatchat
Copy link
Author

fatchat commented Feb 24, 2024

Kobotoolbox source works

@fatchat
Copy link
Author

fatchat commented Feb 24, 2024

Commcare source works

@fatchat
Copy link
Author

fatchat commented Feb 26, 2024

on an airbyte 0.50.21 deployment:

  • set up a google sheets -> bigquery sync without normalization
  • saw the usual _airbyte_ab_id, _airbyte_emitted_at, _airbyte_data columns in the _airbyte_raw_* tables
  • upgraded the destination (not the connector!) to use destinations v2 and ran the sync
  • saw the expected columns _airbyte_raw_id, _airbyte_extracted_at, _airbyte_meta and the new dataset airbyte_internal
  • also saw the data columns after normalization
  • the table names did not beign with _airbyte_raw_
  • normalization was still available on the connection!
  • running with normalization was like running with destinations v1
  • removed normalization and synced
  • result was like destinations v2

@fatchat
Copy link
Author

fatchat commented Feb 26, 2024

  • it was possible to downgrade the airbyte destination to destinations v1 and sync
  • the destination ID did not change across these actions

this means that we can migrate BigQuery clients one-by-one to destinations v2

BQ destination connector version: 1.9.0

@fatchat
Copy link
Author

fatchat commented Feb 26, 2024

The Postgres destination connector versions 0.* did not support destinations v2
There were no 1.* versions
Version 2.0.1 is destinations v2, no option for v1

These upgrades therefore need to be done per-connector i.e. per workspace

@fatchat
Copy link
Author

fatchat commented Feb 26, 2024

Synced to a Postgre destinations connector v 0.4.0 (dest v1) and got the usual _airbyte_raw_* tables with _airbyte_data etc

Upgraded the connector to v 2.0.1 (dest v2)

  • the airbyte_internal schema was created
  • the normalized tables were created with the new _airbyte_raw_id, _airbyte_extracted_at and _airbyte_meta columns

@fatchat fatchat changed the title upgrade airbyte to 0.50.40 upgrade airbyte to destinations v2 Feb 27, 2024
@fatchat fatchat changed the title upgrade airbyte to destinations v2 upgrade airbyte to 0.50.40 Feb 27, 2024
@fatchat fatchat moved this from In Progress to Hold in Dalgo Feb 27, 2024
@fatchat
Copy link
Author

fatchat commented May 1, 2024

staging is now running airbyte 0.50.44
postgres connector is 2.0.9
bigquery is 2.4.12

@fatchat fatchat moved this from Hold to Todo in Dalgo May 25, 2024
@fatchat fatchat changed the title upgrade airbyte to 0.50.40 upgrade airbyte to 0.50.44 May 29, 2024
@fatchat
Copy link
Author

fatchat commented May 29, 2024

production is now running airbyte 0.50.44
postgres connector is 2.0.9
bigquery is 2.4.12

Important: This command can only be run by one of the repository admins:
Usage: ./tools/bin/get_repo_admins.sh <personal_access_token>

@fatchat fatchat moved this from Todo to Done in Dalgo May 29, 2024
@fatchat fatchat closed this as completed May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants