case classDQMRule(rule: Column, ruleName: String = null, taskPolicy: DQMTaskPolicy = FailNone) extends DQMTask with Product with Serializable
DQMRule defines a requirement on the records of a DF
val r = DQMRule($"a" + $"b" < 100.0, "a_b_sum_lt100", FailPercent(0.01))
Require the sum of "a" and "b" columns less than 100.
Rule name "a_b_sum_lt100", which can be referred in the org.tresamigos.smv.dqm.DQMState
If 1% or more of the records fail this rule, the entire DF will fail
Linear Supertypes
Serializable, Serializable, Product, Equals, DQMTask, AnyRef, Any
DQMRule defines a requirement on the records of a DF
Require the sum of "a" and "b" columns less than 100. Rule name "a_b_sum_lt100", which can be referred in the org.tresamigos.smv.dqm.DQMState If 1% or more of the records fail this rule, the entire DF will fail