@@ -21,18 +21,18 @@ Feature: Pipeline tests using the movies dataset
2121 When I run the data contract phase
2222 Then there are 3 record rejections from the data_contract phase
2323 And there are errors with the following details and associated error_count from the data_contract phase
24- | Entity | ErrorCode | ErrorMessage | error_count |
25- | movies | BLANKYEAR | year not provided | 1 |
26- | movies_rename_test | DODGYYEAR | year value (NOT_A_NUMBER ) is invalid | 1 |
27- | movies | DODGYDATE | date_joined value is not valid : daft_date | 1 |
24+ | Entity | ErrorCode | ErrorMessage | RecordIndex | error_count |
25+ | movies | BLANKYEAR | year not provided | 2 | 1 |
26+ | movies_rename_test | DODGYYEAR | year value (NOT_A_NUMBER ) is invalid | 1 | 1 |
27+ | movies | DODGYDATE | date_joined value is not valid : daft_date | 1 | 1 |
2828 And the movies entity is stored as a parquet after the data_contract phase
2929 And the latest audit record for the submission is marked with processing status business_rules
3030 When I run the business rules phase
3131 Then The rules restrict "movies" to 4 qualifying records
3232 And there are errors with the following details and associated error_count from the business_rules phase
33- | ErrorCode | ErrorMessage | error_count |
34- | LIMITED_RATINGS | Movie has too few ratings ([6 .5 ]) | 1 |
35- | RUBBISH_SEQUEL | The movie The Greatest Movie Ever has a rubbish sequel | 1 |
33+ | ErrorCode | ErrorMessage | RecordIndex | error_count |
34+ | LIMITED_RATINGS | Movie has too few ratings ([6 .5 ]) | 4 | 1 |
35+ | RUBBISH_SEQUEL | The movie The Greatest Movie Ever has a rubbish sequel | 1 | 1 |
3636 And the latest audit record for the submission is marked with processing status error_report
3737 When I run the error report phase
3838 Then An error report is produced
@@ -57,18 +57,18 @@ Feature: Pipeline tests using the movies dataset
5757 When I run the data contract phase
5858 Then there are 3 record rejections from the data_contract phase
5959 And there are errors with the following details and associated error_count from the data_contract phase
60- | Entity | ErrorCode | ErrorMessage | error_count |
61- | movies | BLANKYEAR | year not provided | 1 |
62- | movies_rename_test | DODGYYEAR | year value (NOT_A_NUMBER ) is invalid | 1 |
63- | movies | DODGYDATE | date_joined value is not valid : daft_date | 1 |
60+ | Entity | ErrorCode | ErrorMessage | RecordIndex | error_count |
61+ | movies | BLANKYEAR | year not provided | 2 | 1 |
62+ | movies_rename_test | DODGYYEAR | year value (NOT_A_NUMBER ) is invalid | 1 | 1 |
63+ | movies | DODGYDATE | date_joined value is not valid : daft_date | 1 | 1 |
6464 And the movies entity is stored as a parquet after the data_contract phase
6565 And the latest audit record for the submission is marked with processing status business_rules
6666 When I run the business rules phase
6767 Then The rules restrict "movies" to 4 qualifying records
6868 And there are errors with the following details and associated error_count from the business_rules phase
69- | ErrorCode | ErrorMessage | error_count |
70- | LIMITED_RATINGS | Movie has too few ratings ([6 .5 ]) | 1 |
71- | RUBBISH_SEQUEL | The movie The Greatest Movie Ever has a rubbish sequel | 1 |
69+ | ErrorCode | ErrorMessage | RecordIndex | error_count |
70+ | LIMITED_RATINGS | Movie has too few ratings ([6 .5 ]) | 4 | 1 |
71+ | RUBBISH_SEQUEL | The movie The Greatest Movie Ever has a rubbish sequel | 1 | 1 |
7272 And the latest audit record for the submission is marked with processing status error_report
7373 When I run the error report phase
7474 Then An error report is produced
0 commit comments