-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Create geography_type enum and add geography column in connection table #16818
Conversation
todo: edit name of file to reflect the current oss version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I took a while to get to this, looks good!
.execute(); | ||
} | ||
|
||
private static void addGeographyColumn(final DSLContext ctx) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@terencecho just realized, I think we want all existing connection record to be set to 'AUTO' during this migration, right?
@terencecho I started on the API changes that will use this, and I realized we might want to make some changes to this migration before we merge/run it in prod.
Let me know if any of that doesn't make sense or if you wanna chat about it! |
@pmossman sounds good to me. i can make those changes on tuesday. |
New updates since my last review look good, consider this re-approved! |
…vation * master: (26 commits) supply a source id for schema discovery in connector integration tests (#17662) Source Iterable: Add permission check for stream (#17602) Moving TrackingClientSingleton.initialize into the bean itself (#17631) Handle null workspace IDs in tracking/reporting methods gracefully (#17641) Bump Airbyte version from 0.40.11 to 0.40.12 (#17653) Revert "Do not wait the end of a reset to return an update (#17591)" (#17640) Standardize HttpRequester's url_base and path format (#17524) Create geography_type enum and add geography column in connection and workspace table (#16818) airbyte-cron: update connector definitions from remote (#16438) Do not wait the end of a reset to return an update (#17591) Remove redundant title labels from connector specs (#17544) Updated GA4 status support large schema discovery (#17394) 🪟 🐛 Fixes connector checks not properly ending their loading state (#17620) 🪟🧪 [Experiment] add hideOnboarding experiment (#17605) Source Recharge: change releaseStage to GA (#17606) Source Recharge: skip stream if 403 received (#17608) remove sonar-scan workflow (#17609) Mark/tables should be full width on all pages (#17401) Auto fail all workfow if there is a Versioning issue (#17562) ...
… workspace table (airbytehq#16818) * init commit of geography_type and column * add schema dump * confirm prod database was meant to be changed * add AUTO to geography * set default and not nullable, also edit workspace table * update version number * update schema dump Co-authored-by: pmossman <parker@airbyte.io>
What
In preparation to support a routing service for jobs to be put in different task queues based off the data planes users want to run them in, this PR creates a geography enum type in the database (currently populated with
AUTO
,US
andEU
) and creates ageography
column in the connection table.