deequ icon indicating copy to clipboard operation
deequ copied to clipboard

Expose constraint hints in check results

Open katzp opened this issue 4 years ago • 2 comments

I'm taking check results/metrics and sending them to slack as well as snowflake. Would love to include the constraint hints as sometimes this will be much easier to read than the Constraint result message/constraint.

Think this could be more easily accessed if the Check case class didn't put constraints as private. For example:

case class Check(
  level: CheckLevel.Value,
  description: String,
  constraints: Seq[Constraint] = Seq.empty) // changed from private[deequ] val constraints: Seq[Constraint] = Seq.empty)

katzp avatar Feb 14 '21 20:02 katzp

#339 will help this ?

aviatesk avatar Feb 15 '21 02:02 aviatesk

Yes this pr will do what I want. Thanks

katzp avatar Feb 15 '21 10:02 katzp