取消查询来自spark sql jdbc语句取消(cancel query from spark sql jdbc statement cancel)
我们想使用statement.cancel来取消执行
我的问题是:我使用statement.cancel ,但是web ui显示查询仍在执行
有没有办法取消运行查询
we want to use statement.cancel to cancel execution
My problem is: I use statement.cancel,but web ui show the query is still executed
is there any way to cancel running query
最满意答案
如果您正在通过Thrift服务器运行(我假设您是,因为您提到了JDBC),看起来这是最近(2015年6月) 解决的 。 它定于1.5.0版本。
If you're operating through the Thrift server (which I assume you are, since you mentioned JDBC), it looks like this was recently (June 2015) resolved. It is slated for the 1.5.0 release.
更多推荐
发布评论