Skip to content

Commit

Permalink
Revert to original
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-ext-simba-lf committed Dec 7, 2024
1 parent c4d358a commit b9e74da
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Snowflake.Data/Core/ArrowResultSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ArrowResultSet : SFBaseResultSet
internal override ResultFormat ResultFormat => ResultFormat.ARROW;

private static readonly SFLogger s_logger = SFLoggerFactory.GetLogger<ArrowResultSet>();

private readonly int _totalChunkCount;
private BaseResultChunk _currentChunk;
private readonly IChunkDownloader _chunkDownloader;
Expand Down
2 changes: 1 addition & 1 deletion Snowflake.Data/Core/Authenticator/OAuthAuthenticator.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Snowflake.Data.Log;
using Snowflake.Data.Log;
using System;
using System.Collections.Generic;
using System.Text;
Expand Down
2 changes: 1 addition & 1 deletion Snowflake.Data/Core/FastParser.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using Snowflake.Data.Client;
using Snowflake.Data.Log;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ private void HandleDownloadResponse(HttpWebResponse response, SFFileMetadata fil
private SFFileMetadata HandleFileHeaderErrForPresignedUrls(WebException ex, SFFileMetadata fileMetadata)
{
Logger.Error("Failed to get file header for presigned url: " + ex.Message);

HttpWebResponse response = (HttpWebResponse)ex.Response;
if (response.StatusCode == HttpStatusCode.Unauthorized ||
response.StatusCode == HttpStatusCode.Forbidden ||
Expand Down
1 change: 0 additions & 1 deletion Snowflake.Data/Core/HttpUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -600,4 +600,3 @@ static internal bool IsOktaSSORequest(string host, string endpoint)
}
}


2 changes: 1 addition & 1 deletion Snowflake.Data/Core/QueryContextCache.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Linq;
Expand Down
2 changes: 1 addition & 1 deletion Snowflake.Data/Core/SFBindUploader.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
Expand Down

0 comments on commit b9e74da

Please sign in to comment.