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

clean up func getPkValueExpr #14378

Merged
merged 4 commits into from
Jan 31, 2024

Conversation

jensenojs
Copy link
Contributor

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

issue #13987

What this PR does / why we need it:

use IN instead of OR for cpk and fix a typo

the special case of rowCnt == 1 is retained, otherwise the performance of tpcc will be significantly reduced.

@matrix-meow matrix-meow added the size/M Denotes a PR that changes [100,499] lines label Jan 25, 2024
@mergify mergify bot requested a review from sukki37 January 25, 2024 09:14
@jensenojs
Copy link
Contributor Author

本地用tpcc , warehouses=10, runMin=3跑了三次, 其测试结果如下所示

image

@jensenojs jensenojs closed this Jan 25, 2024
@jensenojs jensenojs reopened this Jan 25, 2024
@badboynt1
Copy link
Contributor

不要只特判rowcnt==1, 改成rowcnt<=3是不是更好一点?

@jensenojs
Copy link
Contributor Author

企业微信截图_53c50453-a65a-48ed-b82f-711674702106

不要只特判rowcnt==1, 改成rowcnt<=3是不是更好一点?

在本地的main分支上测试的结果看确实如此

@mergify mergify bot merged commit 9223b13 into matrixorigin:1.1-dev Jan 31, 2024
16 of 18 checks passed
@jensenojs jensenojs deleted the clean_getPkValueExpr_1.1 branch February 1, 2024 02:22
sukki37 added a commit that referenced this pull request Feb 2, 2024
sukki37 added a commit that referenced this pull request Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/M Denotes a PR that changes [100,499] lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants