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

[Feature] SQL Task should also support Cancel operation #679

Open
Baoqi opened this issue Aug 8, 2019 · 1 comment
Open

[Feature] SQL Task should also support Cancel operation #679

Baoqi opened this issue Aug 8, 2019 · 1 comment
Labels
feature new feature

Comments

@Baoqi
Copy link
Member

Baoqi commented Aug 8, 2019

Is your feature request related to a problem? Please describe.
In current implementation, only sub-process like Task (MR, Shell, Python, etc.) support Cancel (by sending 'kill -9 process_id' to kill child process).

But, for JDBC (SQL) Tasks, some SQL can be very timeconsuming, we can also implement the Cancel support to cancel mis-written SQL to reduce warehouse database workload), we can call Statement:Cancel to cancel running statement for most DBMS, we can also stop fetch more if it already comes to Fetch ResultSet stage.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@Baoqi Baoqi added the feature new feature label Aug 8, 2019
@boandai boandai added this to Requirement(需求) in DolphinScheduler Work Plan via automation Aug 9, 2019
@boandai
Copy link
Contributor

boandai commented Aug 9, 2019

@Baoqi ,could you implement this feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature new feature
Projects
None yet
Development

No branches or pull requests

2 participants