Skip to content

Conversation

@ocramh
Copy link

@ocramh ocramh commented Oct 9, 2024

This PR adds support for BigQuery migration driver.

We just noticed there is already an open PR for this (#881), so we can close it if the other one is approved.

@smulube
Copy link

smulube commented Oct 31, 2024

Hi, just wondered if you had any feedback or comments on the above? @dhui

@nosovk
Copy link

nosovk commented Nov 7, 2024

It would be nice to have it onboard.

@zetaab
Copy link

zetaab commented Apr 29, 2025

the lock in this PR does not work if someone is executing multiple processes at the same time (like kubernetes pods). The lock should happen in database level not in process itself.

// can run at a time. Migrate will call this function before Run is called.
// If the implementation can't provide this functionality, return nil.
// Return database.ErrLocked if database is already locked.
func (b *BigQuery) Lock() error {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lock should be implemented in database level

@tlgfedericotomasi
Copy link

Any chance this (or other bigquery implementations) gets merged soon?

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

Successfully merging this pull request may close these issues.

5 participants