Skip to content

Commit

Permalink
Re-added assertion and removed Obsolete line
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-ext-simba-lf committed Jun 5, 2024
1 parent 20216e4 commit 873f7e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Snowflake.Data.Tests/UnitTests/ArrowResultChunkTest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* Copyright (c) 2012-2023 Snowflake Computing Inc. All rights reserved.
*/

Expand Down Expand Up @@ -151,6 +151,7 @@ public void TestUnusedExtractCellThrowsNotSupportedException()
var chunk = new ArrowResultChunk(_recordBatchOne);

Assert.Throws<NotSupportedException>(() => chunk.ExtractCell(0));
Assert.Throws<NotSupportedException>(() => chunk.ExtractCell(0, 0));
}

[Test]
Expand Down
1 change: 0 additions & 1 deletion Snowflake.Data/Core/ArrowResultChunk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ public override UTF8Buffer ExtractCell(int rowIndex, int columnIndex)
throw new NotSupportedException();
}

[Obsolete("ExtractCell with columnIndex is deprecated", false)]
public override UTF8Buffer ExtractCell(int columnIndex)
{
throw new NotSupportedException();
Expand Down

0 comments on commit 873f7e5

Please sign in to comment.