|
31 | 31 | partition_keys = ['import_year', 'import_month', 'import_day', 'import_date'] |
32 | 32 |
|
33 | 33 | dq_dimensions_map = { |
| 34 | + 'expect_arr_patch_not_to_be_null': 'COMPLETENESS', |
34 | 35 | 'expect_asset_id_not_to_be_null': 'COMPLETENESS', |
35 | 36 | 'expect_asset_type_not_to_be_null': 'COMPLETENESS', |
36 | 37 | 'expect_asset_type_values_to_be_in_set': 'CONSISTENCY', |
37 | 38 | 'expect_block_ref_no_column_values_to_match_regex': 'ACCURACY', |
| 39 | + 'expect_co_t_not_to_be_null': 'COMPLETENESS', |
| 40 | + 'expect_co_t_to_be_between': 'VALIDITY', |
38 | 41 | 'expect_column_value_lengths_to_be_between': 'VALIDITY', |
39 | 42 | 'expect_column_values_to_be_in_set': 'CONSISTENCY', |
40 | 43 | 'expect_column_values_to_be_unique': 'UNIQUENESS', |
|
47 | 50 | 'expect_date_of_birth_column_values_to_not_be_null': 'COMPLETENESS', |
48 | 51 | 'expect_date_of_birth_to_be_between': 'VALIDITY', |
49 | 52 | 'expect_description_values_to_be_in_set': 'CONSISTENCY', |
| 53 | + 'expect_end_of_tenure_date_column_to_be_null': 'COMPLETENESS', |
| 54 | + 'expect_eo_t_to_be_between': 'VALIDITY', |
50 | 55 | 'expect_estate_ref_no_column_values_to_match_regex': 'ACCURACY', |
51 | 56 | 'expect_first_name_column_value_length': 'ACCURACY', |
| 57 | + 'expect_firstname_column_value_length': 'ACCURACY', |
52 | 58 | 'expect_is_organisation_column_values_to_not_be_null': 'COMPLETENESS', |
53 | 59 | 'expect_is_organisation_values_to_be_in_set': 'CONSISTENCY', |
54 | 60 | 'expect_llpg_and_prop_ref_column_values_to_be_unique_within_record': 'UNIQUENESS', |
|
70 | 76 | 'expect_prop_no_column_values_to_be_unique': 'UNIQUENESS', |
71 | 77 | 'expect_prop_no_column_values_to_not_be_null': 'COMPLETENESS', |
72 | 78 | 'expect_prop_no_no_column_values_to_match_regex': 'ACCURACY', |
| 79 | + 'expect_prop_ref_column_values_to_be_unique': 'UNIQUENESS', |
| 80 | + 'expect_prop_ref_not_to_be_null': 'COMPLETENESS', |
73 | 81 | 'expect_property_ref_column_values_to_not_be_null': 'COMPLETENESS', |
| 82 | + 'expect_rent_group_ref_not_to_be_null': 'COMPLETENESS', |
| 83 | + 'expect_saff_rent_acc_not_to_be_null': 'COMPLETENESS', |
74 | 84 | 'expect_select_column_values_to_be_unique_within_record': 'UNIQUENESS', |
75 | 85 | 'expect_start_of_tenure_date_column_not_to_be_null': 'COMPLETENESS', |
76 | | - 'expect_end_of_tenure_date_column_to_be_null': 'COMPLETENESS', |
77 | 86 | 'expect_sub_type_column_values_to_be_in_set': 'CONSISTENCY', |
78 | 87 | 'expect_sub_type_column_values_to_not_be_null': 'COMPLETENESS', |
79 | 88 | 'expect_surname_column_value_length': 'ACCURACY', |
80 | | - 'expect_firstname_column_value_length': 'ACCURACY', |
81 | 89 | 'expect_tag_ref_column_not_to_be_null': 'COMPLETENESS', |
| 90 | + 'expect_tag_ref_column_values_to_be_unique': 'UNIQUENESS', |
| 91 | + 'expect_tag_ref_not_to_be_null': 'COMPLETENESS', |
82 | 92 | 'expect_target_id_and_value_column_values_to_be_unique_within_record': 'UNIQUENESS', |
83 | 93 | 'expect_target_id_column_values_to_not_be_null': 'COMPLETENESS', |
84 | 94 | 'expect_target_type_column_values_to_be_in_set': 'CONSISTENCY', |
85 | 95 | 'expect_tenancy_id_and_payment_reference_column_values_to_be_unique_within_record': 'UNIQUENESS', |
86 | 96 | 'expect_tenancy_id_and_property_reference_column_values_to_be_unique_within_record': 'UNIQUENESS', |
87 | 97 | 'expect_tenancy_id_column_not_to_be_null': 'COMPLETENESS', |
88 | 98 | 'expect_tenure_code_column_not_to_be_null': 'COMPLETENESS', |
89 | | - 'expect_tenure_type_column_values_to_be_in_set': 'CONSISTENCY', |
90 | 99 | 'expect_tenure_code_values_to_be_in_set': 'CONSISTENCY', |
| 100 | + 'expect_tenure_not_to_be_null': 'COMPLETENESS', |
| 101 | + 'expect_tenure_type_column_values_to_be_in_set': 'CONSISTENCY', |
| 102 | + 'expect_tenure_values_to_be_in_set': 'CONSISTENCY', |
91 | 103 | 'expect_uprn_column_value_lengths_between': 'VALIDITY', |
92 | 104 | 'expect_uprn_column_values_to_match_regex': 'ACCURACY', |
93 | 105 | 'expect_uprn_column_values_to_not_be_null': 'COMPLETENESS', |
94 | | - 'expect_uprn_not_to_be_null': 'COMPLETENESS', |
95 | | - 'expect_tag_ref_column_values_to_be_unique': 'UNIQUENESS', |
96 | | - 'expect_tag_ref_not_to_be_null': 'COMPLETENESS', |
97 | | - 'expect_prop_ref_not_to_be_null': 'COMPLETENESS', |
98 | | - 'expect_co_t_not_to_be_null': 'COMPLETENESS', |
99 | | - 'expect_tenure_not_to_be_null': 'COMPLETENESS', |
100 | | - 'expect_saff_rent_acc_not_to_be_null': 'COMPLETENESS', |
101 | | - 'expect_rent_group_ref_not_to_be_null': 'COMPLETENESS', |
102 | | - 'expect_eo_t_to_be_between': 'VALIDITY', |
103 | | - 'expect_co_t_to_be_between': 'VALIDITY', |
104 | | - 'expect_prop_ref_column_values_to_be_unique': 'UNIQUENESS', |
105 | | - 'expect_arr_patch_not_to_be_null': 'COMPLETENESS'} |
| 106 | + 'expect_uprn_not_to_be_null': 'COMPLETENESS'} |
0 commit comments