JavaPackage object is not callable error for pydeequ constraint suggestion

Viewed 169

I'm getting a "JavaPackage object is not callable" error while trying to run the PyDeequ constraint suggestion method on databricks.

I have tried running this code on Apache Spark 3.1.2 cluster as well as Apache Spark 3.0.1 cluster but no luck.

suggestionResult = ConstraintSuggestionRunner(spark).onData(df).addConstraintRule(DEFAULT()).run()

print(suggestionResult)

Please refer to the second screenshot attached for the expanded error status.

PyDeequ error screenshot

Expanded PyDeequ error screenshot

0 Answers
Related