-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
executor: remove Next function for HashAggExec #5987
Conversation
Hi contributor, thanks for your PR. This patch needs to be approved by someone of admins. They should reply with "/ok-to-test" to accept this PR for running test automatically. |
executor/aggregate.go
Outdated
// In this stage we consider all data from src as a single group. | ||
if !e.executed { | ||
for { | ||
hasMore, err := e.innerNext(ctx) |
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.
can we remove innerNext
?
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.
I think so, let me remove it.
@lwhile please fix ci. |
to #5985 |
@zz-jason Ok, I will fix it tonight or tomorrow. If RP has the time limit, please let me know. |
@zz-jason Can I remove all the |
@lwhile No. We should rewrite them instead. |
@zz-jason I am confused about the output of CI and I have no debug environment.Please give me some Infomation for fix CI. |
@lwhile You can use |
FAIL: admin_test.go:204: testSuite.TestScan admin_test.go:287: |
@lwhile any update ? |
/run-all-tests |
@lwhile A friendly ping. Please fix the CI. |
@shenli Sorry, I will try to fix the errors in the next few days :) |
@shenli Hi, I could pass all the test in my local environment by using the command
Could give me more tips? |
You can run |
What's your Go version? You need the latest Go to format the source files. @lwhile |
Can pass the CI check now. @XuHuaiyu Thanks for your help. I am a reader of your blog, and your article is very well. @tiancaiamao |
LGTM |
executor/aggregate.go
Outdated
@@ -143,37 +143,7 @@ func (e *HashAggExec) execute(ctx context.Context) (err error) { | |||
|
|||
// Next implements the Executor Next interface. | |||
func (e *HashAggExec) Next(ctx context.Context) (Row, error) { |
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 can remore Next
function totally now.
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.
removed
/run-all-tests |
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
@zz-jason The Jenkins test didn't pass.Should I fix it? |
@lwhile It's a known issue, not your fault, we are working on it |
/run-common-test |
/run-common-test |
/run-integration-common-test |
No description provided.