Created
August 8, 2020 08:57
-
-
Save timgent/31205f8f54ce469ab3df752dfd67c0f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val predictedOrdersChecks = ChecksSuite("orders", | |
dualDsChecks = Map( | |
DescribedDsPair(DescribedDs(orders, "orders"), DescribedDs(predictedOrders, "predictedOrders")) -> | |
Seq( | |
DualMetricCheck(CountDistinctValuesMetric(List("customerId")), CountDistinctValuesMetric(List("customerId")), | |
"predicted orders present for every customer", MetricComparator.metricsAreEqual) | |
) | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment