Skip to content

Commit

Permalink
Modified format and test case
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-sjayabalan committed Aug 20, 2024
1 parent 592064c commit 3660a9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2337,7 +2337,7 @@ trait FunctionSuite extends TestData {
}

test("unix_timestamp") {
val data = Seq(Timestamp.valueOf("2024-04-08T23:39:20.123-07:00")).toDF("a")
val data = Seq(Timestamp.valueOf("2024-04-08 23:39:20.123-07:00")).toDF("a")
checkAnswer(data.select(unix_timestamp(col("a"))), Seq(Row("1712619560123")), sort = false)
}
}
Expand Down

0 comments on commit 3660a9a

Please sign in to comment.