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 exceptions while sending email notifications

spark_expectations.core.exceptions.SparkExpectationsErrorThresholdExceedsException

Bases: Exception

Throw this exception when error percentage exceeds certain configured value

spark_expectations.core.exceptions.SparkExpectationsInvalidAggDQExpectationException

Bases: Exception

Throw this exception when an invalid agg_dq expectation is encountered

spark_expectations.core.exceptions.SparkExpectationsInvalidQueryDQExpectationException

Bases: Exception

Throw this exception when an invalid query_dq expectation is encountered

spark_expectations.core.exceptions.SparkExpectationsInvalidRowDQExpectationException

Bases: Exception

Throw this exception when an invalid row_dq expectation is encountered

spark_expectations.core.exceptions.SparkExpectationsInvalidRuleTypeException

Bases: Exception

Throw this exception when an invalid rule type is encountered

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 exceptions while sending Slack notifications

spark_expectations.core.exceptions.SparkExpectationsTeamsNotificationException

Bases: Exception

Throw this exception when spark expectations encounters exceptions while sending Teams notifications

spark_expectations.core.exceptions.SparkExpectationsUserInputOrConfigInvalidException

Bases: Exception

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

spark_expectations.core.exceptions.SparkExpectationsZoomNotificationException

Bases: Exception

Throw this exception when spark expectations encounters exceptions while sending Zoom notifications