You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actionsbot
changed the title
Make SQL text optional for the input to StmtUtil.cancel
SNOW-1005946: Make SQL text optional for the input to StmtUtil.cancelJan 11, 2024
What is the current behavior?
Currently, this low-level query-cancellation util will throw if the SQL text is not provided in the argument
stmtInput
, as shown below.snowflake-jdbc/src/main/java/net/snowflake/client/core/StmtUtil.java
Line 702 in 9b27bf9
Sometimes when we are cancelling query, the SQL text itself is not available. Can we make this field optional?
What is the desired behavior?
The util won't throw when no SQL text is provided.
How would this improve
snowflake-jdbc
?Allow
stmtUtil.cancel
to be used in cases where the SQL text is not available.References, Other Background
What is your Snowflake account identifier, if any?
The text was updated successfully, but these errors were encountered: