snowflake-connector-nodejs
snowflake-connector-nodejs copied to clipboard
SNOW-1858340: Allow passing in `requestId` as idempotency key
Both the V1 and V2 Snowflake APIs support passing in a client-generated requestId
as an idempotency key to avoid duplicate execution of statements.
V2: https://docs.snowflake.com/en/developer-guide/sql-api/submitting-requests.html#label-sql-api-generating-request-id
In the existing code, the nodejs client generates a random UUID.
Could we expose this requestId
for the client to set too?