You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/07/23 11:37:13 UTC
[GitHub] [spark] srowen commented on a change in pull request #33490: [SPARK-35780][SQL][FOLLOW-UP] Block some invalid datetime string
srowen commented on a change in pull request #33490:
URL: https://github.com/apache/spark/pull/33490#discussion_r675499649
##########
File path: sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/util/DateTimeUtilsSuite.scala
##########
@@ -289,6 +290,11 @@ class DateTimeUtilsSuite extends SparkFunSuite with Matchers with SQLHelper {
checkStringToTimestamp("", None)
checkStringToTimestamp(" ", None)
checkStringToTimestamp("+", None)
+ checkStringToTimestamp("T", None)
+ checkStringToTimestamp("2015-03-18T", None)
Review comment:
Is this valid? doesn't quite look like it
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org