Skip to content
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

fix(resultset-edit): bad performance when modifing query result set #2007

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

smallsheeeep
Copy link
Contributor

What type of PR is this?

type-bug
module-resultset

What this PR does / why we need it:

When I update 100 rows and 1 column in the result set, then ODC will cost about 16.5 second. The root cause is that the UpdateGenerator has repeated SQL query. This PR fix it and the time elapsed decrease to about 700ms.

Which issue(s) this PR fixes:

Fixes #2005

Special notes for your reviewer:

Self-test passed

Additional documentation e.g., usage docs, etc.:


@smallsheeeep smallsheeeep added type-bug Something isn't working priority-high labels Mar 21, 2024
@smallsheeeep smallsheeeep added this to the ODC 4.2.4 milestone Mar 21, 2024
@smallsheeeep smallsheeeep self-assigned this Mar 21, 2024
Copy link
Contributor

@yizhouxw yizhouxw left a comment

Choose a reason for hiding this comment

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

👍👍

Copy link
Contributor

@yhilmare yhilmare left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Collaborator

@PeachThinking PeachThinking left a comment

Choose a reason for hiding this comment

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

LGTM

@yhilmare yhilmare merged commit 45f6c06 into dev/4.2.x Mar 22, 2024
13 checks passed
@yhilmare yhilmare deleted the bugfix/gaoda_42x_fix_generate_update_dml branch March 22, 2024 01:46
@smallsheeeep smallsheeeep linked an issue Mar 22, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-high type-bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[Bug]: Bad performance when batch generate UPDATE modifying SQL
5 participants