Open mattwaismann opened 9 months ago
I experienced this issue again when I missed a positional argument when incorrectly calling check.hasCompleteness("col_name")
Expected behavior: Glue job stops with Exception: TypeError: hasCompleteness() missing 1 required positional argument: 'assertion'
Actual behavior: Glue job continued to run indefinitely
Describe the bug When running PyDeequ Checks on an AWS Glue job, if an exception occurs (e.g. accidentally calling
hasCompletenss(...)
instead ofhasCompleteness(...)
), the Glue job will keep running indefinitely.To Reproduce Glue 4.0 deequ-2.0.4-spark-3.3.jar python-deequ 1.1.0
Expected behavior The expectation is that when errors such as this occur, the Glue job stops running or an exception is thrown so the callback server and spark session can be shut down:
Screenshots In the CloudWatch Glue error logs you see that the job continues polling for executor status: