Skip to content

Conversation

@ruanwenjun
Copy link
Member

Why are the changes needed?

close #7248

  • Cancel the jdbc statement when receive a kyuubi cancel operation

How was this patch tested?

Test by new ut case

Was this patch authored or co-authored using generative AI tooling?

No

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (e7f06a3) to head (ded4d77).

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #7249   +/-   ##
======================================
  Coverage    0.00%   0.00%           
======================================
  Files         696     696           
  Lines       43530   43530           
  Branches     5883    5883           
======================================
  Misses      43530   43530           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codecov-commenter
Copy link

codecov-commenter commented Nov 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (5887e76) to head (fa847ec).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #7249   +/-   ##
======================================
  Coverage    0.00%   0.00%           
======================================
  Files         696     696           
  Lines       43530   43530           
  Branches     5883    5883           
======================================
  Misses      43530   43530           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ruanwenjun ruanwenjun force-pushed the dev_wenjun_fix7248 branch 2 times, most recently from ef8038f to c154799 Compare November 19, 2025 12:47
@ruanwenjun
Copy link
Member Author

@pan3793 PTAL

@ruanwenjun ruanwenjun requested a review from pan3793 November 20, 2025 03:38
@pan3793 pan3793 changed the title [KYUUBI #7248] Ensure jdbc engine statements are canceled when receive cancel operation [KYUUBI #7248] JDBC engine should cancel the statement when receive cancel operation Nov 20, 2025
@pan3793 pan3793 closed this in f2539d2 Nov 20, 2025
pan3793 added a commit that referenced this pull request Nov 20, 2025
…ancel operation

### Why are the changes needed?
close #7248
- Cancel the jdbc statement when receive a kyuubi cancel operation

### How was this patch tested?
Test by new ut case

### Was this patch authored or co-authored using generative AI tooling?
No

Closes #7249 from ruanwenjun/dev_wenjun_fix7248.

Closes #7248

fa847ec [Cheng Pan] Apply suggestion from @pan3793
734e6c4 [ruanwenjun] polish code
76112f3 [ruanwenjun] change starrocks image to 3.3.13
f2f9eed [ruanwenjun] add status assertion in new ut case
33e0f0d [ruanwenjun] add assert in ut
c22feb5 [ruanwenjun] move todo to ExecuteStatement
a132f36 [ruanwenjun] improve ut
f97ceae [ruanwenjun] [KYUUBI #7248] Ensure jdbc engine statements are canceled when receive cancel operation

Lead-authored-by: ruanwenjun <wenjun@apache.org>
Co-authored-by: Cheng Pan <pan3793@gmail.com>
Signed-off-by: Cheng Pan <chengpan@apache.org>
(cherry picked from commit f2539d2)
Signed-off-by: Cheng Pan <chengpan@apache.org>
@pan3793 pan3793 added this to the v1.10.3 milestone Nov 20, 2025
@pan3793
Copy link
Member

pan3793 commented Nov 20, 2025

JDBC engine tests have passed, merged to master/1.10, thanks @ruanwenjun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Cannot cancel StarRocks SQL

3 participants