-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Negate method invocation #10728
Negate method invocation #10728
Conversation
This is a dead code, but should be correct anyway
This looks like a correctness fix. Is it testable? |
The actual implementation that is used is bytecode-generated. This is not used anywhere, so no tests so far |
@@ -215,7 +215,7 @@ public boolean positionNotDistinctFromRow(int leftBlockIndex, int leftPosition, | |||
Block leftBlock = channels.get(hashChannel).get(leftBlockIndex); | |||
Block rightBlock = page.getBlock(rightChannels[i]); | |||
BlockPositionIsDistinctFrom isDistinctFromOperator = isDistinctFromOperators.get(i); | |||
if (!isDistinctFromOperator.isDistinctFrom(leftBlock, leftPosition, rightBlock, rightPosition)) { | |||
if (isDistinctFromOperator.isDistinctFrom(leftBlock, leftPosition, rightBlock, rightPosition)) { |
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.
please add a test to io.trino.operator.TestSimplePagesHashStrategy
It's not dead code yet (although it should be)
// if compilation fails, use interpreter
return new SimplePagesHashStrategy(
I think we should remove that fallback
👋 @skrzypo987 and @sopel39 .. can this be merged? |
no release notes needed |
Sweet.. thank @sopel39 |
No description provided.