Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0.0
Description
The datetime pattern "\nSSSS\r" cause failure on assert while parsing the pattern by datetime formatter:
java.lang.AssertionError: assertion failed
at scala.Predef$.assert(Predef.scala:264)
at org.apache.spark.ErrorClassesJsonReader.getMessageTemplate(ErrorClassesJSONReader.scala:91)
at org.apache.spark.ErrorClassesJsonReader.getErrorMessage(ErrorClassesJSONReader.scala:46)
at org.apache.spark.SparkThrowableHelper$.getMessage(SparkThrowableHelper.scala:56)
at org.apache.spark.SparkIllegalArgumentException.<init>(SparkException.scala:405)
at org.apache.spark.SparkIllegalArgumentException.<init>(SparkException.scala:417)
at org.apache.spark.SparkIllegalArgumentException.<init>(SparkException.scala:422)
at org.apache.spark.sql.catalyst.util.DateTimeFormatterHelper$.$anonfun$createBuilderWithVarLengthSecondFraction$1(DateTimeFormatterHelper.scala:247)
Attachments
Issue Links
- links to