Class RowCountValidator

java.lang.Object
io.deephaven.enterprise.validation.DataQualityTestCase
io.deephaven.enterprise.validators.generic.RowCountValidator
All Implemented Interfaces:
DataQualityTestCaseInterface

public class RowCountValidator extends DataQualityTestCase
Simple testcases to verify that Intraday and Historical Table sizes match for a given partition. It is recommended that this test be applied prior to Intraday deletion.
  • Constructor Details

    • RowCountValidator

      public RowCountValidator(ValidationTableDescription validationTableDescription)
      Create a test case for use in validation.
      Parameters:
      validationTableDescription - description of the table to validate.
  • Method Details

    • testRowCounts

      public void testRowCounts()
      Verify that Intraday and Historical Table sizes match for the given partition. If this in an Intraday table, we will compare against the Historical table for the same column-partition value. If this is an Historical table, we will compare against the Intraday table for the same column-partition value.
    • testCountByGroupingValues

      public void testCountByGroupingValues()
      Verify that grouping-value row-count matches between Intraday and Historical Table for each grouping column. If this is an Intraday table, we will compare against the Historical table for the same column-partition value. If this is an Historical table, we will compare against the Intraday table for the same column-partition value.