Class RowCountValidator
java.lang.Object
io.deephaven.enterprise.validation.DataQualityTestCase
io.deephaven.enterprise.validators.generic.RowCountValidator
- All Implemented Interfaces:
DataQualityTestCaseInterface
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.deephaven.enterprise.validation.DataQualityTestCase
DataQualityTestCase.AssertionFailed, DataQualityTestCase.MonotonicTestType -
Field Summary
Fields inherited from class io.deephaven.enterprise.validation.DataQualityTestCase
table, validationTableDescription -
Constructor Summary
ConstructorsConstructorDescriptionRowCountValidator(ValidationTableDescription validationTableDescription) Create a test case for use in validation. -
Method Summary
Modifier and TypeMethodDescriptionvoidVerify that grouping-value row-count matches between Intraday and Historical Table for each grouping column.voidVerify that Intraday and Historical Table sizes match for the given partition.Methods inherited from class io.deephaven.enterprise.validation.DataQualityTestCase
assertAllValuesBetween, assertAllValuesEqual, assertAllValuesEqual, assertAllValuesInArrayInDistinctSet, assertAllValuesInArrayNotInDistinctSet, assertAllValuesInDistinctSet, assertAllValuesInStringSetInDistinctSet, assertAllValuesInStringSetNotInDistinctSet, assertAllValuesNotEqual, assertAllValuesNotEqual, assertAllValuesNotInDistinctSet, assertAscending, assertAvg, assertColumnGrouped, assertColumnType, assertColumnTypes, assertCountEqual, assertDescending, assertEqual, assertEquals, assertExpectedTableSize, assertFalse, assertFracInf, assertFracNan, assertFracNull, assertFracValuesBetween, assertFracWhere, assertFracZero, assertGreater, assertGreaterEqual, assertInRange, assertInRange, assertInRange, assertLess, assertLessEqual, assertMax, assertMin, assertNotEqual, assertNotEquals, assertNotNull, assertNumberDistinctValues, assertPercentile, assertSize, assertStd, assertStrictlyAscending, assertStrictlyDescending, assertTrue, clean, clean, clearMessages, fail, fail, getActualTableSize, getActualTableSize, getExpectedTableSize, getExpectedTableSize, getMessages, getPartitionColumnNames, getPartitionColumnNames, getPartitionTable, getTableName, log, message, message, message, messageIfNotEmpty, messageIfNotEmpty, setUp, tearDown
-
Constructor Details
-
RowCountValidator
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.
-