OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

Compare 2 tables for differences

Open musk1419 opened this issue 7 months ago • 4 comments

Affected module UI

Describe the bug When creating a new test case at the Table Level, selecting "Compare 2 tables for differences" as the test type causes a field conflict that prevents the form from being used correctly.

To Reproduce

  1. Navigate to "Add Test case"
  2. Select "Table Level" as the test level
  3. Click on "Select Test Type" dropdown
  4. Choose "Compare 2 tables for differences"
  5. Observe that the "Select Table" field and "Select Test Type" field cannot both be properly configured

Expected behavior When "Compare 2 tables for differences" is selected:

  • The "Select Table" field should either be optional OR
  • The form should allow selecting the first table (Table 1) in the "Select Table" field, then allow selecting the second table (Table 2) in the dedicated "Table 2" field below
  • Both fields should not be mutually exclusive
Image

Version:

  • OS: [e.g. iOS]
  • Python version:
  • OpenMetadata version: v1.12.1
  • OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==XYZ]

Additional context Add any other context about the problem here.

musk1419 avatar Apr 17 '26 10:04 musk1419

@musk1419 Can i work on this?

steverogersX avatar Apr 17 '26 10:04 steverogersX

@steverogersX assigned it to you

harshach avatar Apr 18 '26 17:04 harshach

@steverogersX assigned it to you

Hi team,

Following up on the "Compare 2 tables for differences" feature, could we also add support for comparing the row counts (total number of rows) between the two tables?

Being able to quickly see the COUNT(*) differences alongside the schema/data differences would be incredibly valuable for data validation and migration checks.

Thanks for the great work!

roger1419 avatar Apr 22 '26 08:04 roger1419

This is not reproducible in recent versions 2.0 -- closing this as fixed

TeddyCr avatar Aug 26 '26 21:08 TeddyCr