diff --git a/src/main/scala/com/amazon/deequ/constraints/Constraint.scala b/src/main/scala/com/amazon/deequ/constraints/Constraint.scala index 3dea8887..a28b6f2e 100644 --- a/src/main/scala/com/amazon/deequ/constraints/Constraint.scala +++ b/src/main/scala/com/amazon/deequ/constraints/Constraint.scala @@ -946,7 +946,7 @@ object Constraint { case Some(opts) => opts.nullBehavior match { case NullBehavior.Fail => false - case NullBehavior.Ignore => null + case NullBehavior.Ignore | NullBehavior.EmptyString => null } case None => null }