Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing in requestId as idempotency key #331

Open
albertyfwu opened this issue Jul 21, 2022 · 0 comments
Open

Allow passing in requestId as idempotency key #331

albertyfwu opened this issue Jul 21, 2022 · 0 comments
Assignees
Labels
enhancement The issue is a request for improvement or a new feature status-triage_done Initial triage done, will be further handled by the driver team

Comments

@albertyfwu
Copy link

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?

@sfc-gh-dszmolka sfc-gh-dszmolka added the enhancement The issue is a request for improvement or a new feature label Jan 19, 2023
@sfc-gh-dszmolka sfc-gh-dszmolka added the status-triage_done Initial triage done, will be further handled by the driver team label Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement The issue is a request for improvement or a new feature status-triage_done Initial triage done, will be further handled by the driver team
Projects
None yet
Development

No branches or pull requests

3 participants