-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
roachtest: fix tpchvec perf #48107
roachtest: fix tpchvec perf #48107
Conversation
See #47401 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @asubiotto and @yuzefovich)
pkg/cmd/roachtest/tpchvec.go, line 140 at r1 (raw file):
c *cluster, version crdbVersion, vectorizeOptions []bool,
I think this solution is confusing because we have the option to either use the passed in variable or call b.vectorizeOptions and the other testRun
implementation ignores the arguments. The problem here is that there are no commonalities between the test types so putting this into an interface doesn't work cleanly. Instead, I think we should get rid of testRun
and pass in a function to runTPCHVec
one of which is the original and the other which is the new placeholder test.
This commit fixes a problem with "test case struct" resolution that was introduced recently when we added `smithcmp` config to `tpchvec` test. The root of the issue is that `testRun` function was made a part of the `tpchVecTestCase` interface which doesn't really makes sense. Release note: None
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @asubiotto)
pkg/cmd/roachtest/tpchvec.go, line 140 at r1 (raw file):
Previously, asubiotto (Alfonso Subiotto Marqués) wrote…
I think this solution is confusing because we have the option to either use the passed in variable or call b.vectorizeOptions and the other
testRun
implementation ignores the arguments. The problem here is that there are no commonalities between the test types so putting this into an interface doesn't work cleanly. Instead, I think we should get rid oftestRun
and pass in a function torunTPCHVec
one of which is the original and the other which is the new placeholder test.
Good point, done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! 1 of 0 LGTMs obtained
TFTR! bors r+ |
bors r+ |
Build succeeded |
This commit fixes a problem with "test case struct" resolution that was
introduced recently when we added
smithcmp
config totpchvec
test.The root of the issue is that
testRun
function was made a part of thetpchVecTestCase
interface which doesn't really makes sense.Release note: None