You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "ruanwenjun (via GitHub)" <gi...@apache.org> on 2025/11/17 03:39:17 UTC
[I] [Bug] Cannot cancel StarRocks SQL [kyuubi]
ruanwenjun opened a new issue, #7248:
URL: https://github.com/apache/kyuubi/issues/7248
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
### Search before asking
- [x] I have searched in the [issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no similar issues.
### Describe the bug
Hi team,
We use kyuubi to submit starrocks sql.
It seems the starrocks sql can only be killed when its `statement.cancel` method executed.
However, kyuubi appears to have same behaves to client-side cancel and close operations.
Therefore, we are currently unable to kill SQL on Starrocks in Kyuubi.
### Affects Version(s)
1.9.2
### Kyuubi Server Log Output
```logtalk
```
### Kyuubi Engine Log Output
```logtalk
```
### Kyuubi Server Configurations
```yaml
```
### Kyuubi Engine Configurations
```yaml
```
### Additional context
_No response_
### Are you willing to submit PR?
- [ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix.
- [ ] No. I cannot submit a PR at this time.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org
Re: [I] [Bug] Cannot cancel StarRocks SQL [kyuubi]
Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 closed issue #7248: [Bug] Cannot cancel StarRocks SQL
URL: https://github.com/apache/kyuubi/issues/7248
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org
Re: [I] [Bug] Cannot cancel StarRocks SQL [kyuubi]
Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 commented on issue #7248:
URL: https://github.com/apache/kyuubi/issues/7248#issuecomment-3541424330
So we should propagate the Kyuubi JDBC driver operation to the JDBC engine? We can use the existing Hive Thrift protocol with additional key-value pairs to emulate such specific operations.
See more details on how Kyuubi JDBC driver implemented get/set catalog/schema
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org
Re: [I] [Bug] Cannot cancel StarRocks SQL [kyuubi]
Posted by "ruanwenjun (via GitHub)" <gi...@apache.org>.
ruanwenjun commented on issue #7248:
URL: https://github.com/apache/kyuubi/issues/7248#issuecomment-3541971617
> So we should propagate the Kyuubi JDBC driver operation to the JDBC engine? We can use the existing Hive Thrift protocol with additional key-value pairs to simulate such specific operations.
>
> See more details on how Kyuubi JDBC driver implemented get/set catalog/schema
It seems we have already propagate the Kyuubi JDBC driver operation to the JDBC engine, but we use `close` to correspond to cancelOperation. In some driver e.g mysqk the `close` method will not cancel the sql and will block untill the statement finished. I submit #7249 try to fix this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org