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

Stay healthy if BigQuery table exceeds column limit #372

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

istreeter
Copy link
Contributor

With BigQuery Loader v1, we have previously hit problems when the number of columns in the table gets close to 10000. This is much less likely with Loader v2, but even so we should handle that situation elegantly.

After this commit, we will catch and handle the known exception when the table exceeds the maximum number of columns. After receiving that exception once, the loader should stay healthy and not make any further attempt to alter the table. Any event should go to the bad topic, if it cannot fit into the un-altered table.

@istreeter istreeter force-pushed the handle-exceed-column-limit branch 5 times, most recently from d4fe3d3 to ca4c710 Compare April 1, 2024 20:28
@istreeter istreeter marked this pull request as ready for review April 1, 2024 20:29
@istreeter istreeter requested a review from pondzix April 1, 2024 20:42
@istreeter istreeter merged commit 312a2a5 into v2 Apr 4, 2024
1 check passed
@istreeter istreeter deleted the handle-exceed-column-limit branch April 4, 2024 16:34
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