Table of Contents

Search

  1. Preface
  2. Introduction to Data Validation Option
  3. Repositories
  4. XML Data Source
  5. Tests for XML Data Sources
  6. Connections
  7. Expressions
  8. Table Pairs
  9. Tests for Table Pairs
  10. Single-Table Constraints
  11. Tests for Single-Table Constraints
  12. Examples of Tests from Spreadsheets
  13. SQL Views
  14. Lookup Views
  15. Join Views
  16. Aggregate Views
  17. Business Intelligence and Reporting Tools Reports
  18. Dashboards
  19. DVOCmd Command Line Program
  20. Troubleshooting
  21. Appendix A: Datatype Reference
  22. Appendix B: Reporting Views
  23. Appendix C: Metadata Import Syntax
  24. Appendix D: Jasper Reports
  25. Appendix E: 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.