feat: Modularization: Schema overrides via string and file#1840
feat: Modularization: Schema overrides via string and file#1840manitgupta merged 12 commits intoGoogleCloudPlatform:mainfrom
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1840 +/- ##
============================================
+ Coverage 43.98% 50.22% +6.23%
+ Complexity 3457 1182 -2275
============================================
Files 827 372 -455
Lines 49052 20146 -28906
Branches 5141 2035 -3106
============================================
- Hits 21576 10118 -11458
+ Misses 25829 9352 -16477
+ Partials 1647 676 -971
|
...eam-to-spanner/src/main/java/com/google/cloud/teleport/v2/templates/DataStreamToSpanner.java
Outdated
Show resolved
Hide resolved
...main/java/com/google/cloud/teleport/v2/spanner/migrations/schema/ISchemaOverridesParser.java
Outdated
Show resolved
Hide resolved
|
@bharadwaj-aditya Code ref - Observations -
I will have to dig a bit deeper into the bulk code, but it looks like actually some of the methods like I'll think a bit more on how we can go about this, but we should treat it as a separate exercise IMO. |
.../com/google/cloud/teleport/v2/spanner/migrations/convertors/ChangeEventSessionConvertor.java
Outdated
Show resolved
Hide resolved
...main/java/com/google/cloud/teleport/v2/spanner/migrations/schema/ISchemaOverridesParser.java
Outdated
Show resolved
Hide resolved
...main/java/com/google/cloud/teleport/v2/spanner/migrations/schema/ISchemaOverridesParser.java
Outdated
Show resolved
Hide resolved
...src/main/java/com/google/cloud/teleport/v2/spanner/migrations/schema/SchemaFileOverride.java
Outdated
Show resolved
Hide resolved
Regarding 1 - Agreed the ISchemaMapper does some stuff which is not required here. Regarding 2 - Agreed - it is not required currently, but the logic to resolve it etc exists in the template in any case, any concern in using that in this flow ? It comes as the ddlView which is loaded as a part of the pipeline as opposed to launcher, but i'm not sure that is reason enough to not use it. Regarding 3 - |
30370f0 to
f05e317
Compare


No description provided.