-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[multistage][bugfix] fix operator eos pull #11970
Conversation
Codecov Report
@@ Coverage Diff @@
## master #11970 +/- ##
=============================================
- Coverage 61.43% 27.60% -33.84%
+ Complexity 1135 201 -934
=============================================
Files 2385 2385
Lines 129150 129179 +29
Branches 19994 19998 +4
=============================================
- Hits 79347 35657 -43690
- Misses 44049 90837 +46788
+ Partials 5754 2685 -3069
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1165 files with indirect coverage changes 📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today! |
@@ -132,25 +132,22 @@ public String toExplainString() { | |||
@Override | |||
protected TransferableBlock getNextBlock() { | |||
try { |
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.
Do we always need to do this try-catch? Consider moving it into base class?
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.
yes i can move it to base
// construct a SET with all the right side rows. | ||
constructRightBlockSet(); | ||
} | ||
if (_upstreamErrorBlock != null) { |
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.
We probably don't need to save this as member variable. Also, the error from right table is not gathered
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.
yeah we should've :-P the issue here is similar to JOIN, fixed
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
@@ -70,7 +79,7 @@ public String getOperatorId() { | |||
} | |||
|
|||
// Make it protected because we should always call nextBlock() | |||
protected abstract TransferableBlock getNextBlock(); | |||
protected abstract TransferableBlock getNextBlock() throws Exception; |
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.
(minor) Reformat
currently agg, window, transform, fitler operator can potentially pull more than once against input for EOS.
This PR changes the behavior.
this guarantees that no more than one EOS block will be pulled; tests are covered by existing resource queries tests