MaxGekk commented on a change in pull request #23358: [SPARK-26424][SQL] Use 
java.time API in date/timestamp expressions
URL: https://github.com/apache/spark/pull/23358#discussion_r243723898
 
 

 ##########
 File path: 
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/csv/UnivocityParserSuite.scala
 ##########
 @@ -112,7 +112,7 @@ class UnivocityParserSuite extends SparkFunSuite with 
SQLHelper {
     assert(parser.makeConverter("_1", BooleanType).apply("true") == true)
 
     var timestampsOptions =
-      new CSVOptions(Map("timestampFormat" -> "dd/MM/yyyy hh:mm"), false, 
"GMT")
+      new CSVOptions(Map("timestampFormat" -> "dd/MM/yyyy HH:mm"), false, 
"GMT")
 
 Review comment:
   Changed because valid range for `hh` pattern is `1-12`. See 
https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to