-
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
logictest: fix upsert test #58156
logictest: fix upsert test #58156
Conversation
The trace message appears to contain only a single line if an error occurs (all lines apart from the first one are not shown), so this commit adjusts `upsert` opt logic test accordingly. 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.
Reviewed 1 of 1 files at r1.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @rytaft)
TFTR! bors r+ |
Build failed: |
Seems like a timeout on bors r+ |
Build failed: |
Another timeout, let's give it another try. bors r+ |
58156: logictest: fix upsert test r=yuzefovich a=yuzefovich The trace message appears to contain only a single line if an error occurs (all lines apart from the first one are not shown), so this commit adjusts `upsert` opt logic test accordingly. Fixes: #58158. Release note: None Co-authored-by: Yahor Yuzefovich <[email protected]>
Build failed: |
LGTM. Looks like another flake, I'll try again while I'm here bors r+ |
58110: opt: add OptionalColList type r=RaduBerinde a=RaduBerinde I am open to better suggestions for the name. #### opt: change ColSetToList() func to a ToList() method Release note: None #### opt: add OptionalColList type For mutations, we use ColLists that map 1-to-1 to table columns, and where some of the entries in the list can be 0. This is really meant to represent a mapping of columns and it is an abuse of the ColList type (which is supposed to be a simple list of columns). We add a separate OptionalColList type which has the desired semantics. This helps clarify things a bit (in particular it is now obvious which of the lists are "real" lists and which are "mappings"). It will also allow a different ToSet() method which makes sense for this structure (i.e. doesn't put 0 in the set). Release note: None 58156: logictest: fix upsert test r=RaduBerinde a=yuzefovich The trace message appears to contain only a single line if an error occurs (all lines apart from the first one are not shown), so this commit adjusts `upsert` opt logic test accordingly. Fixes: #58158. Release note: None Co-authored-by: Radu Berinde <[email protected]> Co-authored-by: Yahor Yuzefovich <[email protected]>
Build failed (retrying...): |
bors r+ |
Already running a review |
Oh, didn't realize it was in the queue already. |
Build succeeded: |
The trace message appears to contain only a single line if an error
occurs (all lines apart from the first one are not shown), so this
commit adjusts
upsert
opt logic test accordingly.Fixes: #58158.
Release note: None