Add new ConnectionError variants, new fields in AuthErrorResponseData
Update error handling in for better error reports
Add support to handle async query response. For requests that take more than 45 secs to complete, Snowflake returns a get_request_url so that the actual query response need to be polled via GET requests. Each poll request can take up to 45 secs till the next poll starts.
Improve error handling
ConnectionError
variants, new fields inAuthErrorResponseData
Add support to handle async query response. For requests that take more than 45 secs to complete, Snowflake returns a
get_request_url
so that the actual query response need to be polled viaGET
requests. Each poll request can take up to 45 secs till the next poll starts.Used a older version of snowflake-connector-nodejs - libs/connection/statement.js as a reference for
is_async
method, a query is in progress if its response code is33333
or33334