Skip to content
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

refactor: remove ExecutionContext.execute(stmt) completely #3561

Merged
merged 4 commits into from
Oct 14, 2019

Conversation

spena
Copy link
Member

@spena spena commented Oct 11, 2019

Description

This is part2 of #3530.

This PR replaces the rest of the classes using ExecutionContext.execute(stmt) for ExecutionContext.execute(ctx, stmt), and finally removes the method from the ExecutionContext interface.

Testing done

Updated unit tests.

Reviewer checklist

  • Ensure docs are updated if necessary. (eg. if a user visible feature is being added or changed).
  • Ensure relevant issues are linked (description should include text like "Fixes #")

@spena spena requested review from big-andy-coates and a team October 11, 2019 21:35
@spena spena self-assigned this Oct 11, 2019
@stevenpyzhang
Copy link
Member

stevenpyzhang commented Oct 11, 2019

Hmm, I just realized that this refactoring of the KsqlExecutionContext right now is very similar to the work @rodesai is doing in #3482. The KsqlExecutionContext is quite different after his change. I think this can be done in parallel with Rohan's pr (especially since part 1 for this was already merged), but I think we could maybe just include all this refactoring in Rohan's pr since he'll be changing the interface anyways. (edit: never mind, I just saw your comments in his pr, disregard this comment then).

Copy link
Contributor

@big-andy-coates big-andy-coates left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for getting around to this @spena !

@spena spena force-pushed the remove_execute_statement_part2 branch from 79d43f4 to 0002ffc Compare October 14, 2019 13:58
@spena spena merged commit c0bfa41 into confluentinc:master Oct 14, 2019
@spena spena deleted the remove_execute_statement_part2 branch October 14, 2019 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants