Search code examples
snowflake-cloud-data-platformsnowsql

How do you stop a running query in SnowSQL


Is it possible to stop a running query in the SnowSQL command line tool? Let's say I made a mistake and I tried to run a heavy query. Control-C, Esc, Q... nothing seems to stop it. The only way seems to be to send a kill command.

I also tried to stop a query when I'm paging but it seems like I'm forced to go through all pages before being able to stop.

Is there any way to stop queries in any of these two situations?


Solution

  • ctrl+c is working fine for me, I executed a simple query

    select * from <HUGE TABLE>;
    

    While the results are getting displayed on the command window I fired the ctrl+c

    enter image description here

    SnowSQL verion : v1.2.5
    Operating System : Windows