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

source-bigquery-batch: Code health improvements #2435

Merged
merged 3 commits into from
Feb 24, 2025

Conversation

willdonnelly
Copy link
Member

@willdonnelly willdonnelly commented Feb 20, 2025

Description:

As with source-postgres-batch and source-mysql-batch, this PR is mostly a bunch of test suite improvements along with the change to omit query templates from discovered bindings by default in favor of letting the connector pick the appropriate default query when unspecified.


This change is Reviewable

@willdonnelly willdonnelly added the change:planned This is a planned change label Feb 20, 2025
@willdonnelly willdonnelly requested a review from a team February 20, 2025 23:12
As we've now done with batch MySQL and PostgreSQL, this commit
adds a fairly extensive list of new test cases exercising most
BigQuery column types and a variety of edge-cases around cursor
handling.
This modifies source-bigquery-batch with the new batch SQL
behavior where discovered resources omit a query template by
default and instead just include the schema/table name and
expect the connector to supply the default polling query.

There's no urgent need for this feature in source-bigquery-batch
but it's good to make things consistent across all of the batch
SQL capture connectors.
Updates test snapshots and fixes some tests which weren't fully
reproducible before.
@willdonnelly willdonnelly force-pushed the wgd/bigquery-batch-code-health-20250218 branch from d50d8a1 to 4991b74 Compare February 20, 2025 23:13
Copy link
Member

@williamhbaker williamhbaker left a comment

Choose a reason for hiding this comment

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

LGTM

@willdonnelly willdonnelly merged commit c03cf7d into main Feb 24, 2025
51 of 56 checks passed
@willdonnelly willdonnelly deleted the wgd/bigquery-batch-code-health-20250218 branch February 24, 2025 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change:planned This is a planned change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants