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: Row IDs and View Discovery #2459

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

willdonnelly
Copy link
Member

@willdonnelly willdonnelly commented Feb 26, 2025

Description:

This PR adds two distinct features which I'm copying over from source-postgres-batch to other SQL batch captures:

  • Row IDs and their use as the fallback collection key for tables without a primary key.
  • An advanced option to return views from discovery.

I'm partly just being lazy by combining the two into a single PR, but it also partly makes sense to do so because views don't have a primary key and also don't always have a useful cursor column, and so we need the keyless-table full-refresh row ID behavior to really make them work nicely.

This PR implements #2382 for source-bigquery-batch.


This change is Reviewable

@willdonnelly willdonnelly added the change:planned This is a planned change label Feb 26, 2025
@willdonnelly willdonnelly requested a review from a team February 26, 2025 23:24
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

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