Skip to content

DBSQLOperation Refactoring (3 of 3) #198

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 5 commits into from
Nov 14, 2023

Conversation

kravets-levko
Copy link
Contributor

@kravets-levko kravets-levko commented Oct 24, 2023

Continuation of #163 and #185

Modify FetchResultsHelper and result handlers so they have unified interface and allow chaining. The idea is to form a sort of pipeline that will fetch operation results and then process it on each step. Currently it's just fetching and preparing (converting to array of rows), but later we'll add an additional step to ensure that chunk size matches maxRows, or steps that may convert data to different representation (or return raw data)

…ltsHelper into provider of TRowSet

Signed-off-by: Levko Kravets <levko.ne@gmail.com>
…vider interface

Signed-off-by: Levko Kravets <levko.ne@gmail.com>
@kravets-levko kravets-levko temporarily deployed to azure-prod October 24, 2023 10:04 — with GitHub Actions Inactive
@databricks databricks deleted a comment from codecov-commenter Oct 24, 2023
Signed-off-by: Levko Kravets <levko.ne@gmail.com>
Copy link
Contributor

@nithinkdb nithinkdb left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for doing this!

@nithinkdb nithinkdb self-requested a review November 14, 2023 21:45
@kravets-levko kravets-levko merged commit 57c21d7 into main Nov 14, 2023
@kravets-levko kravets-levko deleted the refactoring-operation-helpers-3 branch November 14, 2023 22:08
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