FRosner / drunken-data-quality

Spark package for checking data quality
Apache License 2.0
222 stars 69 forks source link

pyddq support for hasNumRowsEqualTo, hasNumRowsGreaterThan, hasNumRowsLessThan #135

Closed Gerrrr closed 7 years ago

Gerrrr commented 7 years ago

Solves #133 by adding 3 distinct methods since I did not find how to conveniently pass Python lambdas to the Scala code.

codecov-io commented 7 years ago

Codecov Report

Merging #135 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #135   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          27     27           
  Lines         551    554    +3     
  Branches       43     42    -1     
=====================================
+ Hits          551    554    +3
Impacted Files Coverage Δ
...osner/ddq/constraints/NumberOfRowsConstraint.scala 100% <100%> (ø) :arrow_up:
src/main/scala/de/frosner/ddq/core/Check.scala 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 49093ae...d6badbc. Read the comment docs.