-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Update README_Cloud_Datastream_to_Spanner.md #2775
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
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Improve documentation for shardingContextFilePath variable
shreyakhajanchi
previously approved these changes
Sep 15, 2025
Co-authored-by: liferoad <7833268+liferoad@users.noreply.github.com>
* checkstyle bump 11.0.1 * checkstyle bump 11.0.1
* Update generate_dependencies.sh * Update generate_dependencies.sh * remove the version
* Spanner to SourceDb: Pubsub failure injection test * Adding UT * Corrected compilation failure
Co-authored-by: liferoad <7833268+liferoad@users.noreply.github.com>
#2768) * SourceDb to Spanner: Bulk migration + dlq Retry failure injection test * Addressing comments
The previous sed command only handled decimal test times but not integer ones. Update the command to properly process both integer and decimal time formats in surefire reports.
* Introduce Schemaless graphs to import/export DDL - Introduces the concepts of DYNAMIC LABEL and DYNAMIC PROPERTIES - Adds a DdlTest to test new fields - Next: Add Avro<->Schema converters * Add converters for dynamic PropertyGraphs - To and from Avro Next: Minor change for updating INFORMATION SCHEMA * Recognize dynamic labels/props from Spanner Graph Information Schema - Added a test to verify that it works correctly * Apply mvn spotless --------- Co-authored-by: Sailesh Mukil <mukil.sailesh@gmail.com>
Bumps [github.com/hashicorp/terraform-json](https://github.com/hashicorp/terraform-json) from 0.26.0 to 0.27.2. - [Release notes](https://github.com/hashicorp/terraform-json/releases) - [Commits](hashicorp/terraform-json@v0.26.0...v0.27.2) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-json dependency-version: 0.27.2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…2770) Bumps [io.opencensus:opencensus-api](https://github.com/census-instrumentation/opencensus-java) from 0.24.0 to 0.31.1. - [Release notes](https://github.com/census-instrumentation/opencensus-java/releases) - [Changelog](https://github.com/census-instrumentation/opencensus-java/blob/master/CHANGELOG.md) - [Commits](census-instrumentation/opencensus-java@v0.24.0...v0.31.1) --- updated-dependencies: - dependency-name: io.opencensus:opencensus-api dependency-version: 0.31.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.awaitility:awaitility](https://github.com/awaitility/awaitility) from 4.2.0 to 4.3.0. - [Changelog](https://github.com/awaitility/awaitility/blob/master/changelog.txt) - [Commits](awaitility/awaitility@awaitility-4.2.0...awaitility-4.3.0) --- updated-dependencies: - dependency-name: org.awaitility:awaitility dependency-version: 4.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… transaction (#2789) * DataStreamToSpanner - Adding main table read at the beginning of main transaction * Addressing comments * Spotless fix
* updated CPU priority to HIGH for reverse replication jobs * taken priority as option * spotless check --------- Co-authored-by: Aditya Bharadwaj <adibh@google.com>
…ot used (#2887) * remove todos for 2.68 and gax * resolve conflicts
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.6 to 4.31.7. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@fe4161a...cf1bb45) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 4.31.7 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
#3063) Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 7.0.9 to 7.0.11. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](peter-evans/create-pull-request@84ae59a...22a9089) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-version: 7.0.11 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps com.google.apis:google-api-services-dataplex from v1-rev20250924-2.0.0 to v1-rev20251113-2.0.0. --- updated-dependencies: - dependency-name: com.google.apis:google-api-services-dataplex dependency-version: v1-rev20251113-2.0.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.5.0 to 2.6.0. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@2.5.0...2.6.0) --- updated-dependencies: - dependency-name: urllib3 dependency-version: 2.6.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps `jetty.version` from 12.1.4 to 12.1.5. Updates `org.eclipse.jetty:jetty-http` from 12.1.4 to 12.1.5 Updates `org.eclipse.jetty:jetty-server` from 12.1.4 to 12.1.5 Updates `org.eclipse.jetty:jetty-client` from 12.1.4 to 12.1.5 Updates `org.eclipse.jetty:jetty-io` from 12.1.4 to 12.1.5 Updates `org.eclipse.jetty:jetty-util` from 12.1.4 to 12.1.5 Updates `org.eclipse.jetty:jetty-security` from 12.1.4 to 12.1.5 Updates `org.eclipse.jetty:jetty-util-ajax` from 12.1.4 to 12.1.5 Updates `org.eclipse.jetty:jetty-xml` from 12.1.4 to 12.1.5 Updates `org.eclipse.jetty:jetty-alpn-client` from 12.1.4 to 12.1.5 Updates `org.eclipse.jetty.ee8:jetty-ee8-servlet` from 12.1.4 to 12.1.5 Updates `org.eclipse.jetty.ee8:jetty-ee8-webapp` from 12.1.4 to 12.1.5 Updates `org.eclipse.jetty.websocket:jetty-websocket-jetty-api` from 12.1.4 to 12.1.5 Updates `org.eclipse.jetty.websocket:jetty-websocket-jetty-client` from 12.1.4 to 12.1.5 Updates `org.eclipse.jetty.websocket:jetty-websocket-jetty-common` from 12.1.4 to 12.1.5 --- updated-dependencies: - dependency-name: org.eclipse.jetty:jetty-http dependency-version: 12.1.5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.eclipse.jetty:jetty-server dependency-version: 12.1.5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.eclipse.jetty:jetty-client dependency-version: 12.1.5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.eclipse.jetty:jetty-io dependency-version: 12.1.5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.eclipse.jetty:jetty-util dependency-version: 12.1.5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.eclipse.jetty:jetty-security dependency-version: 12.1.5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.eclipse.jetty:jetty-util-ajax dependency-version: 12.1.5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.eclipse.jetty:jetty-xml dependency-version: 12.1.5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.eclipse.jetty:jetty-alpn-client dependency-version: 12.1.5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.eclipse.jetty.ee8:jetty-ee8-servlet dependency-version: 12.1.5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.eclipse.jetty.ee8:jetty-ee8-webapp dependency-version: 12.1.5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.eclipse.jetty.websocket:jetty-websocket-jetty-api dependency-version: 12.1.5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.eclipse.jetty.websocket:jetty-websocket-jetty-client dependency-version: 12.1.5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.eclipse.jetty.websocket:jetty-websocket-jetty-common dependency-version: 12.1.5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add check for small machines * Remove log * Apply spotless * Use Preconditions * Update IT and LT base classes with workerMachineType * Add to params instead of env
…#3070) Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.5.0 to 2.6.0. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@2.5.0...2.6.0) --- updated-dependencies: - dependency-name: urllib3 dependency-version: 2.6.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.5.0 to 2.6.0. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@2.5.0...2.6.0) --- updated-dependencies: - dependency-name: urllib3 dependency-version: 2.6.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ta type support (#3055) * Add data types test for live migration from MySQL to a Spanner dialect Spanner DB * Add data types test for live migration from MySQL to a Postgres dialect Spanner DB
#3075) Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.5.0 to 2.6.0. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@2.5.0...2.6.0) --- updated-dependencies: - dependency-name: urllib3 dependency-version: 2.6.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
bump version of maven packages from 3.6.3 to 3.9.9 to address https://nvd.nist.gov/vuln/detail/CVE-2021-26291 vulnerability
…3081) Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.5.0 to 2.6.0. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@2.5.0...2.6.0) --- updated-dependencies: - dependency-name: urllib3 dependency-version: 2.6.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…er (#3083) Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.5.0 to 2.6.0. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@2.5.0...2.6.0) --- updated-dependencies: - dependency-name: urllib3 dependency-version: 2.6.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… change event (#3034) [b/464837828](https://b.corp.google.com/issues/464837828) Spanner allows NULL values in Primary key columns (From documentation: "For GoogleSQL-dialect databases, primary key columns are usually annotated with NOT NULL (though you can omit this annotation if you want to allow NULL values in key columns."). Scenario: Insert a row in Spanner in which one of the PK columns is nullable and has value NULL. Current behaviour: The query errors out with severe error in AssignShardId step and DLQ ```com.google.cloud.teleport.v2.spanner.migrations.exceptions.ChangeEventConvertorException: Required key userId not found in change event, Caused by: Required key userId not found in change event``` Problem: This error message is incorrect as the changestream shouldnt error out, the source should (in case NULL is not supported) Expected Behaviour: A row with null PK should pass through spanner and changestream to source and then error out if source does not support NULLs in primary key columns. ### Testing Tested by making a flex container image: gs://ea-functional-tests/templates-aastha-2025-08-12/flex/Spanner_to_SourceDb After changes, on inserting a row in Spanner with a compound PK in which one of the PK columns is nullable and has value NULL, this is the retriable error that is inserted in DLQ: ``` {"message":{"commitTimestamp":{"seconds":1765176539,"nanos":325359000},"serverTransactionId":"MTY5NTE4NTU3MjYzOTg1OTM4NQ==","recordSequence":"00000000","tableName":"unified_lgm_event_data","mod":{"keysJson":"{\"ddrkey\":\"-532\",\"slotId\":\"50\",\"userId\":null}","oldValuesJson":"{}","newValuesJson":"{\"attempts\":\"70\",\"createTime\":\"0\",\"eventId\":\"80\",\"intAttrib0\":\"-1\",\"intAttrib1\":\"-1\",\"intAttrib2\":\"-1\",\"intAttrib3\":\"-1\",\"intAttrib4\":\"-1\",\"intAttrib5\":\"-1\",\"intAttrib6\":\"-1\",\"intAttrib7\":\"-1\",\"intAttrib8\":\"-1\",\"intAttrib9\":\"-1\",\"lastAttemptedTime\":\"0\",\"lastCompletedTime\":\"0\",\"lastUpdateTime\":\"0\",\"round\":\"80\",\"status\":\"60\",\"stringAttrib0\":\"\",\"stringAttrib1\":\"\",\"stringAttrib2\":\"\",\"stringAttrib3\":\"\",\"stringAttrib4\":\"\",\"timesAttemptedInInterval\":\"0\"}"},"modType":"INSERT","numberOfRecordsInTransaction":1,"transactionTag":"","shard":"shard1_00","isRetryRecord":false,"_metadata_retry_count":0},"error_message":"UNKNOWN: Column 'userId' cannot be null, Caused by: Column 'userId' cannot be null"} ```
* add YEAR mapping * orrect expectedData for YEAR column * fix spotless error
* Update PromoteHelper to use PUBLIC_BCID_VSA_ONLY * Update PromoteHelperTest.java
* Add IcebergResourceManager * Add IcebergResource Manager for IT * Fix Testcase * Order fields * Apply spotless * Add Unit tests * Apply Spotless * Add Postgres to Iceberg * Add Pipeline Options * fix options * fix options * Add Postgres to Iceberg Template * Add test case for framework * Fix Tests * spotless * Fix dependency * Fix failing test * Fix names * Fix data type * Add Iceberg setup beforehand * use GCS Bucket for warehouse * Use base path * move to Rest Catalog * use random bucket for concurrent test runs * Fix GcsResourceManager Cleanup
…3086) Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.5.0 to 2.6.0. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@2.5.0...2.6.0) --- updated-dependencies: - dependency-name: urllib3 dependency-version: 2.6.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: liferoad <7833268+liferoad@users.noreply.github.com>
This reverts commit 7e3308f.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Improve documentation for shardingContextFilePath variable