We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e37395b + 8343f18 commit cccc148Copy full SHA for cccc148
scripts/jobs/housing/housing_apply_gx_dq_tests.py
@@ -127,6 +127,10 @@ def main():
127
# map DQ dimension type
128
results_df['dq_dimension_type'] = results_df['expectation_type'].map(dq_dimensions_map)
129
130
+ # add clean dataset name
131
+ results_df['table_name'] = results_df['kwargs.batch_id'].map(
132
+ lambda x: x.removeprefix('pandas-').removesuffix('_df_asset'))
133
+
134
results_df['import_year'] = datetime.today().year
135
results_df['import_month'] = datetime.today().month
136
results_df['import_day'] = datetime.today().day
0 commit comments