cloud-fan commented on a change in pull request #27710: [SPARK-30960][SQL] add
back the legacy date/timestamp format support in CSV/JSON parser
URL: https://github.com/apache/spark/pull/27710#discussion_r384557001
##########
File path:
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/csv/UnivocityParserSuite.scala
##########
@@ -318,4 +319,35 @@ class UnivocityParserSuite extends SparkFunSuite with
SQLHelper {
}.getMessage
assert(errMsg2.contains("i does not exist"))
}
+
+ test("SPARK-30960: parse date/timestamp string with legacy format") {
Review comment:
Unfortunately there is no UT for the json parser. The test-ability of the
json parser is not good...
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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]