Skip to content

DBSQLOperation Refactoring (1 of 3) #163

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Sep 15, 2023

Conversation

kravets-levko
Copy link
Contributor

@kravets-levko kravets-levko commented Aug 21, 2023

Currently we have DBSQLOperation implemented as a main class + several helpers that implement various suboperations. Initially this approach helped during implementing DirectResults and other features, but as we go further it becomes harder to maintain relations between those helpers. After weighing all the pros and cons, I decided to move code from helpers to main DBSQLOperation class. This PR gets rid of CompleteOperationHelper and SchemaHelper (one commit per each helper, so for better understanding comits may be reviewed one-by-one), and following PRs will do the same for other helpers.

Signed-off-by: Levko Kravets <levko.ne@gmail.com>
Signed-off-by: Levko Kravets <levko.ne@gmail.com>
@databricks databricks deleted a comment from codecov-commenter Sep 6, 2023
@kravets-levko kravets-levko temporarily deployed to azure-prod September 10, 2023 10:29 — with GitHub Actions Inactive
@kravets-levko kravets-levko temporarily deployed to azure-prod September 12, 2023 10:14 — with GitHub Actions Inactive
@kravets-levko kravets-levko temporarily deployed to azure-prod September 13, 2023 10:33 — with GitHub Actions Inactive
@databricks databricks deleted a comment from codecov-commenter Sep 13, 2023
@codecov-commenter
Copy link

Codecov Report

Patch coverage is 97.87% of modified lines.

Files Changed Coverage
lib/DBSQLOperation/index.ts 97.87%

📢 Thoughts on this report? Let us know!.

@kravets-levko kravets-levko temporarily deployed to azure-prod September 14, 2023 17:02 — with GitHub Actions Inactive
Copy link

@susodapop susodapop left a comment

Choose a reason for hiding this comment

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

LGTM

@kravets-levko kravets-levko merged commit 4020c78 into main Sep 15, 2023
@kravets-levko kravets-levko deleted the refactoring-operation-helpers-1 branch September 15, 2023 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants