Skip to content

Commit

Permalink
fix get row
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-bli committed Sep 18, 2024
1 parent 926d3e2 commit 916146e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/scala/com/snowflake/snowpark_test/RowSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ class RowSuite extends SNTestBase {
assert(row.getAs[Short](10) == Short.MinValue)
assert(row.getAs[String](11) == "string")
assert(row.getAs[Time](12) == Time.valueOf("16:23:04"))
assert(row.getAs[Timestamp](13) == new Timestamp(milliseconds))
assert(row.getAs[Timestamp](13).getTime == milliseconds)
assert(row.getAs[Variant](14) == new Variant(1))
assertThrows[ClassCastException](row.getAs[Boolean](0))
assertThrows[ArrayIndexOutOfBoundsException](row.getAs[Boolean](-1))
Expand Down

0 comments on commit 916146e

Please sign in to comment.