Skip to content

Conversation

@fqshopify
Copy link
Contributor

@fqshopify fqshopify commented Nov 10, 2025

Split out the changes needed for support BigQuerySource for the Datastream/Table APIs from the original PR: #234

While this PR appears large, the actual changes are quite minimal. The first commit simply copies files from flink-1.17-connector-bigquery to a new flink-2.1-connector-bigquery directory and can be skipped during review. In the subsequent commits, I actually make changes to those files so those commits are worth reviewing and if you review commit-by-commit it will be easy to see what has actually changed.

The files that have actually changed:

  • flink-2.1-connector-bigquery/flink-connector-bigquery/src/main/java/com/google/cloud/flink/bigquery/source/BigQuerySource.java
  • flink-2.1-connector-bigquery/flink-connector-bigquery/src/main/java/com/google/cloud/flink/bigquery/source/reader/BigQuerySourceReader.java

@fqshopify fqshopify marked this pull request as ready for review November 10, 2025 19:36
@prashastia
Copy link
Collaborator

/gcbrun

() -> new BigQuerySourceSplitReader(getReadOptions(), bqReaderContext);

return new BigQuerySourceReader<>(
splitReaderSupplier,
Copy link
Collaborator

Choose a reason for hiding this comment

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

The change is due to update in the constructor for SingleThreadMultiplexSourceReaderBase​ in flink 2.1 right? The elementsQueue is no longer supported?

return new BigQuerySourceReader<>(
splitReaderSupplier,
new BigQueryRecordEmitter<>(getDeserializationSchema()),
bqReaderContext);
Copy link
Collaborator

Choose a reason for hiding this comment

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

In the absence of a custom blocking queue. what does the value default to?

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