-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Use newTrinoTable in more places #24806
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
Conversation
6a7f80f to
4afec8f
Compare
c6351db to
d7a837d
Compare
kokosing
left a 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.
Nice clean up. Let me know when it is ready to merge.
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.
Nice. I really like that these methods are now in sync.
There's one timeout in tests, but it looks like I'm racing with new uses that are creating conflicts... |
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.
IMO the primary-key variants should be dedicated methods with names making clear that they are to be used with MERGE-related tests.
I suggest newTrinoTableForMerge?
hashhar
left a 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.
LGTM % comment about names vs new overloads
|
@chenjian2664 looks like you fixed the problem I wanted to fix with this :) I'll just keep the cleanups. |
Sometimes the new and old way were mixed in a single method. It also makes `createTestTableForWrites` reuse this method to avoid duplication.
d7a837d to
2c350bd
Compare
|
I eventually dropped the unification of the two methods, so only the last commit remains (and is amended a little). |
Description
Sometimes the new and old way were mixed in a single method. It also makes
createTestTableForWritesreuse this method to avoid duplication.Additional context and related issues
Release notes
(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text: