-
Notifications
You must be signed in to change notification settings - Fork 975
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
Metadata config and pipeline options #2081
base: main
Are you sure you want to change the base?
Metadata config and pipeline options #2081
Conversation
Sync master
Sync main branch
Sync main branch
tests: Adding Forward Migration Tests (GoogleCloudPlatform#2001)
Sync main branch
Use [self-hosted, it] for prepare java cache workflow (GoogleCloudPlatform#2080)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added a few comments. The major concerns here are
- There seems to be overlap with - Cassandra Driver Config Loader for Cassandra Driver Config in GCS #2077. Please rebase from there once it is merged (ETA - Today EOD)
- There are no tests added here.
...nner-to-sourcedb/src/main/java/com/google/cloud/teleport/v2/templates/SpannerToSourceDb.java
Outdated
Show resolved
Hide resolved
...n/java/com/google/cloud/teleport/v2/spanner/migrations/metadata/CassandraSourceMetadata.java
Show resolved
Hide resolved
...n/java/com/google/cloud/teleport/v2/spanner/migrations/metadata/CassandraSourceMetadata.java
Outdated
Show resolved
Hide resolved
...n/java/com/google/cloud/teleport/v2/spanner/migrations/metadata/CassandraSourceMetadata.java
Outdated
Show resolved
Hide resolved
...n/java/com/google/cloud/teleport/v2/spanner/migrations/metadata/CassandraSourceMetadata.java
Outdated
Show resolved
Hide resolved
...main/java/com/google/cloud/teleport/v2/spanner/migrations/schema/cassandra/SourceColumn.java
Outdated
Show resolved
Hide resolved
.../main/java/com/google/cloud/teleport/v2/spanner/migrations/schema/cassandra/SourceTable.java
Outdated
Show resolved
Hide resolved
...in/java/com/google/cloud/teleport/v2/spanner/migrations/utils/CassandraConfigFileReader.java
Show resolved
Hide resolved
...nner-to-sourcedb/src/main/java/com/google/cloud/teleport/v2/templates/SpannerToSourceDb.java
Outdated
Show resolved
Hide resolved
...ava/com/google/cloud/teleport/v2/templates/dbutils/connection/CassandraConnectionHelper.java
Show resolved
Hide resolved
...ava/com/google/cloud/teleport/v2/templates/dbutils/connection/CassandraConnectionHelper.java
Show resolved
Hide resolved
...ava/com/google/cloud/teleport/v2/templates/dbutils/connection/CassandraConnectionHelper.java
Show resolved
Hide resolved
...ava/com/google/cloud/teleport/v2/templates/dbutils/connection/CassandraConnectionHelper.java
Outdated
Show resolved
Hide resolved
...ava/com/google/cloud/teleport/v2/templates/dbutils/connection/CassandraConnectionHelper.java
Outdated
Show resolved
Hide resolved
...ava/com/google/cloud/teleport/v2/templates/dbutils/connection/CassandraConnectionHelper.java
Outdated
Show resolved
Hide resolved
Sync main branch
...nner-to-sourcedb/src/main/java/com/google/cloud/teleport/v2/templates/SpannerToSourceDb.java
Show resolved
Hide resolved
...nner-to-sourcedb/src/main/java/com/google/cloud/teleport/v2/templates/SpannerToSourceDb.java
Outdated
Show resolved
Hide resolved
...nner-to-sourcedb/src/main/java/com/google/cloud/teleport/v2/templates/SpannerToSourceDb.java
Outdated
Show resolved
Hide resolved
...nner-to-sourcedb/src/main/java/com/google/cloud/teleport/v2/templates/SpannerToSourceDb.java
Outdated
Show resolved
Hide resolved
.../java/com/google/cloud/teleport/v2/spanner/migrations/utils/CassandraDriverConfigLoader.java
Outdated
Show resolved
Hide resolved
...n/java/com/google/cloud/teleport/v2/spanner/migrations/metadata/CassandraSourceMetadata.java
Outdated
Show resolved
Hide resolved
...n/java/com/google/cloud/teleport/v2/spanner/migrations/metadata/CassandraSourceMetadata.java
Outdated
Show resolved
Hide resolved
...mmon/src/main/java/com/google/cloud/teleport/v2/spanner/migrations/shard/CassandraShard.java
Outdated
Show resolved
Hide resolved
Sync main branch
Co-authored-by: Narendra Rajput <narendra.rajput@ollion.com>
* Removed * * Create README.md for UDF samples (GoogleCloudPlatform#2083) This commit adds a README.md file to the directory. The README file provides descriptions for each of the sample Javascript UDF files in the directory, including their purpose and usage examples. Co-authored-by: labs-code-app[bot] <161369871+labs-code-app[bot]@users.noreply.github.com> * CassandraDriverConfigLoader from GCS (GoogleCloudPlatform#2077) * Added Config File Path * Added Fix for Loading Driver Options * Added Dependecy Fixes * Fix UT --------- Co-authored-by: liferoad <huxiangqian@gmail.com> Co-authored-by: labs-code-app[bot] <161369871+labs-code-app[bot]@users.noreply.github.com> Co-authored-by: Vardhan Vinay Thigle <39047439+VardhanThigle@users.noreply.github.com>
* Convert it to builder Pattern * Convert Waring to Error * remove the unwanted comments
7a2d80a
to
928fba9
Compare
...ava/com/google/cloud/teleport/v2/templates/dbutils/connection/CassandraConnectionHelper.java
Show resolved
Hide resolved
...mmon/src/main/java/com/google/cloud/teleport/v2/spanner/migrations/shard/CassandraShard.java
Outdated
Show resolved
Hide resolved
...mmon/src/main/java/com/google/cloud/teleport/v2/spanner/migrations/shard/CassandraShard.java
Outdated
Show resolved
Hide resolved
...mmon/src/main/java/com/google/cloud/teleport/v2/spanner/migrations/shard/CassandraShard.java
Outdated
Show resolved
Hide resolved
...n/java/com/google/cloud/teleport/v2/spanner/migrations/metadata/CassandraSourceMetadata.java
Outdated
Show resolved
Hide resolved
...mmon/src/main/java/com/google/cloud/teleport/v2/spanner/migrations/shard/CassandraShard.java
Outdated
Show resolved
Hide resolved
...mmon/src/main/java/com/google/cloud/teleport/v2/spanner/migrations/shard/CassandraShard.java
Outdated
Show resolved
Hide resolved
...in/java/com/google/cloud/teleport/v2/spanner/migrations/utils/CassandraConfigFileReader.java
Outdated
Show resolved
Hide resolved
...ava/com/google/cloud/teleport/v2/templates/dbutils/connection/CassandraConnectionHelper.java
Outdated
Show resolved
Hide resolved
...sourcedb/src/main/java/com/google/cloud/teleport/v2/templates/transforms/SourceWriterFn.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add unit tests for all the java classes added/modified
...mmon/src/main/java/com/google/cloud/teleport/v2/spanner/migrations/shard/CassandraShard.java
Outdated
Show resolved
Hide resolved
...ava/com/google/cloud/teleport/v2/templates/dbutils/connection/CassandraConnectionHelper.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add unit tests for all the classes added.
...n/java/com/google/cloud/teleport/v2/spanner/migrations/metadata/CassandraSourceMetadata.java
Outdated
Show resolved
Hide resolved
...n/java/com/google/cloud/teleport/v2/spanner/migrations/metadata/CassandraSourceMetadata.java
Outdated
Show resolved
Hide resolved
...nner-to-sourcedb/src/main/java/com/google/cloud/teleport/v2/templates/SpannerToSourceDb.java
Outdated
Show resolved
Hide resolved
...n/java/com/google/cloud/teleport/v2/spanner/migrations/metadata/CassandraSourceMetadata.java
Show resolved
Hide resolved
The test coverage on this PR has dropped 3% across the project. Can you please add unit tests here ? |
* Added Dummy Test case * Removed * from import * removed unwanted * Added Fixes * Added test case and fixes * Added Some more PR comments * Added Test case for Cassandra Reader * Added New testcase * Added Dependecny
This PR introduces a comprehensive refactor and enhancement of the migration workflow to streamline schema handling and extend support for Cassandra sources. Key changes include: