Closed eolvwa closed 7 months ago
Thanks for reporting - PyDeequ should change and fix this. Likely this is not covered by the test as well.
Actually I cannot reproduce this with SPARK_VERSION=3.3
and com.amazon.deequ:deequ:2.0.3-spark-3.3
.
Due to breaking API issues (introduced by Scala), Deequ 2.0.4 is currently not supported. We will discuss internally to fix those issues in Scala land.
This will be resolved in next release which will include https://github.com/awslabs/python-deequ/issues/169.
The Check.satisfies method appears to be incompatible with Deequ 2.0.4. That release of Deequ includes a new optional
columns
parameter for the Check.satisfies() function per PR 478.To Reproduce Run the following code:
Expected behavior A new compliance constraint is added to the check.
Actual behavior Py4J reports a missing method:
Versions
Additional context As a workaround, it looks like one can hotpatch the code. I'm not very familiar with Py4J, Pydeequ, or Deequ so not sure if this is the best long-term solution: