Skip to content

test: add integration test for PostgreSQL declarative partitioned tables#4016

Closed
jsuhani-2026 wants to merge 1 commit into
mainfrom
jsuhani-pg-partitioned-tables-it
Closed

test: add integration test for PostgreSQL declarative partitioned tables#4016
jsuhani-2026 wants to merge 1 commit into
mainfrom
jsuhani-pg-partitioned-tables-it

Conversation

@jsuhani-2026

Copy link
Copy Markdown
Contributor

Added a new end-to-end integration test (PostgreSQLPartitionedTablesIT) to verify that the SourceDbToSpanner template correctly migrates partitioned tables from a PostgreSQL source into Cloud Spanner.

It validates data ingestion for all three PostgreSQL partitioning strategies across both GoogleSQL and PostgreSQL Spanner dialects:

  • RANGE partitioning (measurements_range table)
  • LIST partitioning (employees_list table)
  • HASH partitioning (orders_hash table)

@jsuhani-2026 jsuhani-2026 added the addition New feature or request label Jul 12, 2026
@jsuhani-2026 jsuhani-2026 force-pushed the jsuhani-pg-partitioned-tables-it branch 2 times, most recently from bd065e1 to 82fa91b Compare July 12, 2026 10:49
@jsuhani-2026 jsuhani-2026 force-pushed the jsuhani-pg-partitioned-tables-it branch from 82fa91b to 9fed72d Compare July 12, 2026 10:53
@codecov

codecov Bot commented Jul 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.49%. Comparing base (06d6601) to head (9fed72d).

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #4016      +/-   ##
============================================
+ Coverage     55.70%   63.49%   +7.79%     
+ Complexity     7235     2508    -4727     
============================================
  Files          1124      535     -589     
  Lines         68447    30720   -37727     
  Branches       7721     3420    -4301     
============================================
- Hits          38128    19506   -18622     
+ Misses        27844    10202   -17642     
+ Partials       2475     1012    -1463     
Components Coverage Δ
spanner-templates 88.08% <ø> (+0.41%) ⬆️
spanner-import-export ∅ <ø> (∅)
spanner-live-forward-migration 89.23% <ø> (-0.07%) ⬇️
spanner-live-reverse-replication 83.41% <ø> (-0.05%) ⬇️
spanner-bulk-migration 92.44% <ø> (-0.04%) ⬇️
gcs-spanner-dv 90.00% <ø> (+1.45%) ⬆️
see 612 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.

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/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant