Skip to content

PipelineController Changes for Cassandra Bulk#2086

Merged
VardhanThigle merged 1 commit intoGoogleCloudPlatform:mainfrom
VardhanThigle:cassandra-e2e
Dec 31, 2024
Merged

PipelineController Changes for Cassandra Bulk#2086
VardhanThigle merged 1 commit intoGoogleCloudPlatform:mainfrom
VardhanThigle:cassandra-e2e

Conversation

@VardhanThigle
Copy link
Copy Markdown
Contributor

@VardhanThigle VardhanThigle commented Dec 30, 2024

Refactoring changes in PipelineController to accommodate Cassandra Source.

@codecov
Copy link
Copy Markdown

codecov bot commented Dec 30, 2024

Codecov Report

Attention: Patch coverage is 57.14286% with 15 lines in your changes missing coverage. Please review.

Project coverage is 54.37%. Comparing base (177a218) to head (2fd3106).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...loud/teleport/v2/templates/PipelineController.java 28.57% 10 Missing ⚠️
...cloud/teleport/v2/templates/SourceDbToSpanner.java 0.00% 5 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2086      +/-   ##
============================================
+ Coverage     46.40%   54.37%   +7.97%     
+ Complexity     3932     1553    -2379     
============================================
  Files           859      393     -466     
  Lines         51300    21419   -29881     
  Branches       5394     2146    -3248     
============================================
- Hits          23804    11646   -12158     
+ Misses        25783     9081   -16702     
+ Partials       1713      692    -1021     
Components Coverage Δ
spanner-templates 69.65% <57.14%> (+1.39%) ⬆️
spanner-import-export ∅ <ø> (∅)
spanner-live-forward-migration 76.67% <ø> (ø)
spanner-live-reverse-replication 77.93% <ø> (ø)
spanner-bulk-migration 87.40% <57.14%> (+0.09%) ⬆️
Files with missing lines Coverage Δ
...cassandra/iowrapper/CassandraIOWrapperFactory.java 100.00% <100.00%> (ø)
...ort/v2/templates/DbConfigContainerDefaultImpl.java 100.00% <100.00%> (ø)
...cloud/teleport/v2/templates/SourceDbToSpanner.java 28.57% <0.00%> (-3.01%) ⬇️
...loud/teleport/v2/templates/PipelineController.java 38.59% <28.57%> (+4.68%) ⬆️

... and 485 files with indirect coverage changes

@VardhanThigle VardhanThigle force-pushed the cassandra-e2e branch 6 times, most recently from f97e38d to ec72243 Compare December 30, 2024 08:42
@VardhanThigle VardhanThigle changed the title [Draft-Not-For-Review] PipelineController Changes for Cassandra Bulk PipelineController Changes for Cassandra Bulk Dec 30, 2024
@VardhanThigle VardhanThigle marked this pull request as ready for review December 30, 2024 08:47
@VardhanThigle VardhanThigle requested a review from a team as a code owner December 30, 2024 08:47
Copy link
Copy Markdown
Contributor

@bharadwaj-aditya bharadwaj-aditya left a comment

Choose a reason for hiding this comment

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

Minor suggestions. LGTM overall.

Copy link
Copy Markdown
Contributor

@bharadwaj-aditya bharadwaj-aditya left a comment

Choose a reason for hiding this comment

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

LGTM

@VardhanThigle VardhanThigle merged commit 67efa9f into GoogleCloudPlatform:main Dec 31, 2024
taherkl pushed a commit to ollionorg/DataflowTemplates-fork that referenced this pull request Jan 2, 2025
taherkl pushed a commit to ollionorg/DataflowTemplates-fork that referenced this pull request Jan 2, 2025
shreyakhajanchi pushed a commit that referenced this pull request Jan 7, 2025
* Added Connection Helper

* Added Formatter

* Added File Reader

* Refectored

* Added Changes for Schema and Spanner Schema

* Added Schema Changes to read Spanner Table in Schema object

* Added Schema Changes

* Added Changes for Schma

* Added Source Writn Fn Changes

* Added Source Factory Changes

* Added Fixed for the Source factory and Casssandra Connection helper

* Added Cassandra Schema Reader

* Added Pipeline Process

* Removed Unwanted Validation

* Added Access validator

* removed unwanted Return

* Added Thread safe optimization in cassandra Connection helper

* Applied  spotless:apply

* spotless:apply

* Added Constructor for Test case

* Added DUMMY Generator For UT

* Fixed UT for Metadata config (#30)

Co-authored-by: Narendra Rajput <narendra.rajput@ollion.com>

Cassandra metadata PR To accomodate Driver Loader Class (#33)

* Removed *

* Create README.md for UDF samples (#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 (#2077)

* Added Config File Path

* Added Fix for Loading Driver Options

* Added Dependecy Fixes

* Fix UT

---------

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>

* PR Review Comments (#35)

* Convert it to builder Pattern

* Convert Waring to Error

* remove the unwanted comments

* Removed Unwanted options

* Address the PR

* Address the PR Comments

* Added Missing Getter for Configuration

* Address to removed configuration changes

* removed unwanted getters

* Removal of getter from cassandra dao and test case fixes

* Handle Optionmap in cassandra DAO for serialization

* removed dependecy of getKeyOrder

* Removed And Update Exception

* Fix Checkstyle Voilation

* Missing UT Added (#37)

* 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

* Update test case  and remove Dependency of Jupiter (#39)

* Update test case  and remove Dependecy of jupiter

* Added UT fixes

* Added Missing Getter for Configuration

* [Sourcedb-to-spanner] Bulk migration Mysql to spanner 1tb Load test (#2063)

* [Sourcedb-to-spanner] Bulk migration Mysql to spanner 1tb Load test

* Updating row counts, added static sql resources

* Renaming the test and addressing comments

* PipelineController Changes for Cassandra (#2086)

* Fix Spanner Load tests and add display test report (#2092)

* correcting lt failures

* Adding test report

* Meta code coverage (#41)

Meta code coverage

* Pr bug fixes (#42)

* Schema Reader Optimization (#43)

* Added Pr Fix related to Changes Year in Javadoc

* Address the revert of 2025 and removal of extra constructor

* Added Extra Testcase to reach target patch

---------

Co-authored-by: taherkl <taher.lakdawala@ollion.com>
Co-authored-by: Taher Lakdawala <78196491+taherkl@users.noreply.github.com>
Co-authored-by: pawankashyapollion <v-pawan.kumar@ollion.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>
Co-authored-by: darshan-sj <darshan-sj@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants