Skip to content

Classes

spark_expectations.core.exceptions.SparkExpectOrFailException

Bases: Exception

Throw this exception if a rule fails and is expected to fail the job

spark_expectations.core.exceptions.SparkExpectationsDataframeNotReturnedException

Bases: Exception

Throw this exception if a function doesn't return a dataframe

spark_expectations.core.exceptions.SparkExpectationsEmailException

Bases: Exception

Throw this exception when spark expectations encounters miscellaneous exceptions

spark_expectations.core.exceptions.SparkExpectationsErrorThresholdExceedsException

Bases: Exception

Throw this exception when error percentage exceeds certain configured value

spark_expectations.core.exceptions.SparkExpectationsMiscException

Bases: Exception

Throw this exception when spark expectations encounters miscellaneous exceptions

spark_expectations.core.exceptions.SparkExpectationsSlackNotificationException

Bases: Exception

Throw this exception when spark expectations encounters miscellaneous exceptions

spark_expectations.core.exceptions.SparkExpectationsUserInputOrConfigInvalidException

Bases: Exception

Throw this exception when configured rule or value from the user is wrong