in the latest release that’s avaiable for download we added the option to stop a long running query. while it isn’t enabled by default you can enable and tune it with those newly introduced parameters
--enable-runtime-query-interrupt [=arg(=1)] (=0)
Enable runtime query interrupt.
--runtime-query-interrupt-frequency [=arg(=1000)] (=1000)
A frequency of checking the request of
runtime query interrupt from user (in
you can stop the query pressing control+c in omnisql or using the cancel method on jdbc driver.
I posted here because you asked for this feature in the past