Skip to content

Add Oracle Reverse Datatype ITs - #4490

Open
dhwanilpatel wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
dhwanilpatel:reverse_oracle_datatype_it
Open

dhwanilpatel wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
dhwanilpatel:reverse_oracle_datatype_it

Conversation

@dhwanilpatel

Copy link
Copy Markdown
Contributor

Add oracle reverse datatype ITs.

@dhwanilpatel
dhwanilpatel force-pushed the reverse_oracle_datatype_it branch from e6468b8 to 0015379 Compare October 27, 2026 09:55
@codecov

codecov Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.33%. Comparing base (4d8aa19) to head (92b6206).
⚠️ Report is 9 commits behind head on main.

Additional details and impacted files
@@              Coverage Diff              @@
##               main    #4490       +/-   ##
=============================================
+ Coverage     33.90%   63.33%   +29.42%     
- Complexity      509     3077     +2568     
=============================================
  Files           215      582      +367     
  Lines         13251    34356    +21105     
  Branches       1335     3917     +2582     
=============================================
+ Hits           4493    21760    +17267     
- Misses         8388    11497     +3109     
- Partials        370     1099      +729     
Components Coverage Δ
spanner-templates 83.67% <ø> (∅)
spanner-import-export ∅ <ø> (∅)
spanner-live-forward-migration 86.87% <ø> (∅)
spanner-live-reverse-replication 79.16% <ø> (∅)
spanner-bulk-migration 87.85% <ø> (∅)
gcs-spanner-dv 85.65% <ø> (∅)
see 465 files with indirect coverage changes
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dhwanilpatel
dhwanilpatel marked this pull request as ready for review October 27, 2026 10:53
@dhwanilpatel
dhwanilpatel requested a review from a team as a code owner October 27, 2026 10:53
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

Gemini encountered an error creating the summary. You can try again by commenting /gemini summary.

@bharadwaj-aditya bharadwaj-aditya left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed PR #4490 — added inline comments on Scenario D validation / DLQ retries, test helper deduplication, and PostgreSQL dialect table parity.

@bharadwaj-aditya bharadwaj-aditya added the addition New feature or request label Oct 29, 2026
private static Object readValue(ResultSet rs, Compare mode) throws Exception {
Object v;
switch (mode) {
case NUMBER:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

how are the other types compared ? Same comment on next method.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We read the various types in these specific formats for comparing. For e.g. we are reading datatime as string and compare.

  private static final String DATE_TEXT = "TO_CHAR(%s, 'YYYY-MM-DD HH24:MI:SS')";
  private static final String TIMESTAMP_TEXT = "TO_CHAR(%s, 'YYYY-MM-DD HH24:MI:SS.FF6')";
  private static final String TIMESTAMP_UTC_TEXT =
      "TO_CHAR(SYS_EXTRACT_UTC(%s), 'YYYY-MM-DD HH24:MI:SS.FF6')";

@bharadwaj-aditya bharadwaj-aditya left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

addition New feature or request size/XXL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants