v.1.1.54378New Feature

Handling Query Cancellation in Client Responses

When a query is stopped by KILL QUERY or replace_running_query, the client receives the Query was canceled exception instead of an incomplete result.
Clients now receive a clear Query was canceled exception when a query is stopped by KILL QUERY or replace_running_query, instead of an incomplete result.

Why it matters

This feature ensures that when queries are forcibly stopped, users are explicitly informed that the query was canceled. It prevents confusion caused by receiving incomplete or partial results, improving clarity and reliability in query execution feedback.

How to use it

When a query is terminated using KILL QUERY or the replace_running_query mechanism, the client will automatically receive the Query was canceled exception. No additional configuration is needed to enable this behavior.