Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Removed println
  • Loading branch information
rahulsmahadev committed Oct 16, 2019
commit 17edc79d220ba29fe768cc3a5ed5930bcecbded9
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,6 @@ class DateTimeUtilsSuite extends SparkFunSuite with Matchers {

test("trailing characters while converting string to timestamp") {
val s = UTF8String.fromString("2019-10-31T10:59:23Z:::")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You described 2 cases in the PR discription ':' and ' '. This test checks the first one only. Could you add at least one more check for ' '.

println(s)
val time = DateTimeUtils.stringToTimestamp(s, defaultZoneId)
assert(time == None)
}
Expand Down