GoogleCloudPlatform/spanner-migration-tool

Validate data written to Spanner

Open

#19 opened on Jan 27, 2020

View on GitHub
 (1 comment) (0 reactions) (0 assignees)PLpgSQL (81 forks)auto 404
good first issuep4

Repository metrics

Stars
 (152 stars)
PR merge metrics
 (PR metrics pending)

Description

After data is written to Spanner, read it back and check it matches the data from the pg_dump.

At a minimum, we could check row counts for each table.

We could also: a) check actual data, but just do this for a sampled set of data, or b) check all data (probably requires another pass over the pg_dump for large datasets).

Contributor guide