Skip to content

Fixing Custom Transforms for BigInt Unsigned and Boolean types.#2039

Merged
VardhanThigle merged 1 commit intoGoogleCloudPlatform:mainfrom
VardhanThigle:fetchsize
Nov 29, 2024
Merged

Fixing Custom Transforms for BigInt Unsigned and Boolean types.#2039
VardhanThigle merged 1 commit intoGoogleCloudPlatform:mainfrom
VardhanThigle:fetchsize

Conversation

@VardhanThigle
Copy link
Copy Markdown
Contributor

@VardhanThigle VardhanThigle commented Nov 29, 2024

Fixing Custom Transforms for BigInt Unsigned and Boolean types.

Overview of Changes

  1. Fixing Custom Transforms handling for Bytes and Boolean.
  2. Mapping BigInt Unsigned to Avro Number Logical Type as per updates in unified mapping.
  3. Improved UT coverage for custom transformations code.

@codecov
Copy link
Copy Markdown

codecov bot commented Nov 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.39%. Comparing base (3455819) to head (a2b5e09).
Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2039      +/-   ##
============================================
+ Coverage     45.60%   53.39%   +7.78%     
+ Complexity     3729     1413    -2316     
============================================
  Files           847      382     -465     
  Lines         50188    20861   -29327     
  Branches       5275     2100    -3175     
============================================
- Hits          22887    11138   -11749     
+ Misses        25629     9045   -16584     
+ Partials       1672      678     -994     
Components Coverage Δ
spanner-templates 68.56% <100.00%> (+1.49%) ⬆️
spanner-import-export ∅ <ø> (∅)
spanner-live-forward-migration 76.30% <100.00%> (+0.39%) ⬆️
spanner-live-reverse-replication 77.23% <100.00%> (+0.36%) ⬆️
spanner-bulk-migration 86.85% <100.00%> (+0.24%) ⬆️
Files with missing lines Coverage Δ
...dbc/rowmapper/provider/MysqlJdbcValueMappings.java 83.62% <100.00%> (+0.28%) ⬆️
...ema/typemapping/provider/MysqlMappingProvider.java 100.00% <100.00%> (ø)
...er/migrations/avro/GenericRecordTypeConvertor.java 93.11% <100.00%> (+5.87%) ⬆️

... and 482 files with indirect coverage changes

@VardhanThigle VardhanThigle marked this pull request as ready for review November 29, 2024 11:54
@VardhanThigle VardhanThigle requested a review from a team as a code owner November 29, 2024 11:54
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 comments. LGTM

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 c9d233f into GoogleCloudPlatform:main Nov 29, 2024
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