diff --git a/Snowflake.Data/Core/ArrowResultSet.cs b/Snowflake.Data/Core/ArrowResultSet.cs index 178531eaf..3c7132f15 100755 --- a/Snowflake.Data/Core/ArrowResultSet.cs +++ b/Snowflake.Data/Core/ArrowResultSet.cs @@ -121,9 +121,9 @@ internal override bool NextResult() return false; } - internal override async Task NextResultAsync(CancellationToken cancellationToken) + internal override Task NextResultAsync(CancellationToken cancellationToken) { - return await Task.FromResult(false); + return Task.FromResult(false); } internal override bool HasRows() diff --git a/Snowflake.Data/Core/SFBlockingChunkDownloaderV3.cs b/Snowflake.Data/Core/SFBlockingChunkDownloaderV3.cs index 2e19146aa..5b3c1b0ca 100755 --- a/Snowflake.Data/Core/SFBlockingChunkDownloaderV3.cs +++ b/Snowflake.Data/Core/SFBlockingChunkDownloaderV3.cs @@ -129,7 +129,7 @@ public async Task GetNextChunkAsync() } else { - return await Task.FromResult(null); + return null; } }