GoogleCloudPlatform / professional-services-data-validator

Utility to compare data between homogeneous or heterogeneous environments to ensure source and target tables match
Apache License 2.0
399 stars 114 forks source link

generate-table-partitions does not support custom query row validation #1145

Open sundar-mudupalli-work opened 4 months ago

sundar-mudupalli-work commented 4 months ago

Hi,

generate-table-partitions is helpful in scaling row validations by breaking up large row validations into smaller chunks. Smaller chunks can be validated without running out of memory. Smaller chunks can also be validated in parallel speeding up row validations. Generate-table-partitions does not support custom query row validations. The problem is that the existing logic uses the tables and primary keys to generate where clauses to partition the table.

There are two options:

Sundar Mudupalli