Skip to content

vdk-impala: Introduce checks for insert template#2198

Merged
sbuldeev merged 13 commits intomainfrom
person/sbuldeev/add-quality-checks-to-insert-template
Jun 15, 2023
Merged

vdk-impala: Introduce checks for insert template#2198
sbuldeev merged 13 commits intomainfrom
person/sbuldeev/add-quality-checks-to-insert-template

Conversation

@sbuldeev
Copy link
Copy Markdown
Contributor

@sbuldeev sbuldeev commented Jun 5, 2023

Add functionality to the insert processing templates in order to allow quality checks to be made before the data is inserted into the target table.

Currently, the checks done on the insert template processing step are not covering if the semantics of the data is correct. Therefore, bad data could go into the target table which could be unwanted behavior.

More details explained in
#1361

What:
-Adding functionality to handle the insert template behavior if the user provides checks

Tests: provided positive and negative regression tests

Signed-off-by: Stefan Buldeev sbuldeev@vmware.com

Add functionality to the insert processing templates in order to allow
quality checks to be made before the data is inserted into the target
table.

Currently, the checks done on the insert template processing step are
not covering if the semantics of the data is correct. Therefore, bad
data could go into the target table which could be unwanted behavior.

More details explained in
#1361

What:
-Adding functionality to handle the insert template behavior if the
user provides checks

Tests: provided positive and negative regression tests

Signed-off-by: Stefan Buldeev sbuldeev@vmware.com
@sbuldeev sbuldeev changed the title Why: vdk-impala: Introduce checks for snapshot template Jun 5, 2023
@antoniivanov
Copy link
Copy Markdown
Contributor

The title of the PR says snapshot, not insert template :)

Copy link
Copy Markdown
Contributor

@antoniivanov antoniivanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The functionality looks good. Now I am focusing on some small improvements on maintainability and ease-of-troubleshooting of the change.

@sbuldeev sbuldeev changed the title vdk-impala: Introduce checks for snapshot template vdk-impala: Introduce checks for insert template Jun 5, 2023
@sbuldeev sbuldeev requested review from ivakoleva and murphp15 June 12, 2023 08:11
@sbuldeev sbuldeev merged commit b869ddb into main Jun 15, 2023
@sbuldeev sbuldeev deleted the person/sbuldeev/add-quality-checks-to-insert-template branch June 15, 2023 11:27
murphp15 pushed a commit that referenced this pull request Jun 21, 2023
Why:
Add functionality to the insert processing templates in order to allow
quality checks to be made before the data is inserted into the target
table.

Currently, the checks done on the insert template processing step are
not covering if the semantics of the data is correct. Therefore, bad
data could go into the target table which could be unwanted behavior.

More details explained in
#1361

What:
-Adding functionality to handle the insert template behavior if the user
provides checks

Tests: provided positive and negative regression tests

Signed-off-by: Stefan Buldeev sbuldeev@vmware.com

---------

Signed-off-by: Stefan Buldeev sbuldeev@vmware.com
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants