Skip to content

Commit

Permalink
debug get query status
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-knozderko committed Apr 22, 2024
1 parent 9830574 commit d11aaf5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Snowflake.Data/Core/SFStatement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,9 @@ internal QueryStatus GetQueryStatus(string queryId)
bool receivedFirstQueryResponse = false;
while (!receivedFirstQueryResponse)
{
logger.Warn("Executing query to get status !!!");
response = _restRequester.Get<QueryStatusResponse>(queryRequest);
logger.Warn($"Executed query to get status !!! code: {response.code} message: {response.message} data: {response.data}, queriesCount: {response.data.queries.Count}");
if (SessionExpired(response))
{
SfSession.renewSession();
Expand Down

0 comments on commit d11aaf5

Please sign in to comment.