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

Fix startup on missing existing table #384

Merged
merged 1 commit into from
Sep 18, 2024
Merged

Conversation

istreeter
Copy link
Contributor

During startup, the loader tries to fetch details of an existing table. It only creates a new table if the previous table does not exist.

But this was broken because we were not properly checking the response returned from BigQuery when fetching table details. If a table does not exist then the client returns a null, but does not throw an exception.

During startup, the loader tries to fetch details of an existing table.
It only creates a new table if the previous table does not exist.

But this was broken because we were not properly checking the response
returned from BigQuery when fetching table details.  If a table does not
exist then the client returns a null, but does not throw an exception.
Copy link
Contributor

@oguzhanunlu oguzhanunlu left a comment

Choose a reason for hiding this comment

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

💯 thanks!

@istreeter istreeter merged commit 91594ba into v2 Sep 18, 2024
6 checks passed
@istreeter istreeter deleted the fix/startup-missing-table branch September 18, 2024 09:11
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.

2 participants