Issue#87 Enable Users to Customize Email Body Modification #119
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Add possibility for user to provide his custom email body with parametrized dq stats.
For now only string custom email body is available.
User can import in custom body following statistics:
'product_id'
'table_name'
'input_count'
'error_count'
'output_count'
'output_percentage'
'success_percentage'
'error_percentage'
'source_agg_dq_results'
'final_agg_dq_results'
'source_query_dq_results'
'final_query_dq_results'
'row_dq_res_summary'
'row_dq_error_threshold'
'dq_status'
'dq_run_time'
'dq_rules'
'meta_dq_run_id'
'meta_dq_run_date'
'meta_dq_run_datetime'
To be able to import above mentioned statistics user should comply to the following syntax pattern:
"custom message 'dq_status': {}, 'dq_rules': {}, ..."
or
'''
custom message
'dq_status': {},
'dq_rules': {},
...
'''
Related Issue
(#87)
Motivation and Context
There was user request for providing the possibility for the user to construct custom email body and have in notifications custom statistics
How Has This Been Tested?
Tested locally with the help of local smtp debugging server
Screenshots (if appropriate):
Types of changes
Checklist: