Table of Contents

Search

  1. Preface
  2. Introduction to Data Validation Option
  3. New Features and Behavior Changes
  4. Repositories
  5. XML Data Source
  6. Tests for XML Data Sources
  7. Connections
  8. Expressions
  9. Table Pairs
  10. Tests for Table Pairs
  11. Single-Table Constraints
  12. Tests for Single-Table Constraints
  13. Examples of Tests from Spreadsheets
  14. SQL Views
  15. Lookup Views
  16. Join Views
  17. Aggregate Views
  18. Business Intelligence and Reporting Tools Reports
  19. Dashboards
  20. DVOCmd Command Line Program
  21. Troubleshooting
  22. Datatype Reference
  23. Reporting Views
  24. Metadata Import Syntax
  25. Jasper Reports
  26. Glossary

Data Validation Option User Guide

Data Validation Option User Guide

Tests for Table Pairs Overview

Tests for Table Pairs Overview

You can create data validation tests for a table pair to compare the columns of the two tables. For example, you can create tests to verify that all corresponding columns have the same number of distinct values.
You can add the following types of tests for table pairs:
Aggregate tests
Includes COUNT, COUNT_DISTINCT, COUNT_ROWS, MIN, MAX, AVG, and SUM.
Set tests
Includes SET_AinB, SET_BinA, SET_AeqB, and SET_ANotInB.
Value tests
Includes VALUE and OUTER_VALUE.
You can also automatically generate tests to quickly create tests for table pairs. There are multiple ways to generate tests.
You can run all tests for a table pair. You can also run tests for all table pairs included in a folder in the Navigator.
If a test for a table pair fails to run, right-click the table pair to retrieve the corresponding PowerCenter session log. View the session log to view errors that occurred while running the underlying PowerCenter session.