Github user rxin commented on a diff in the pull request:
https://github.com/apache/spark/pull/6981#discussion_r34861329
--- Diff:
sql/core/src/test/scala/org/apache/spark/sql/DatetimeExpressionsSuite.scala ---
@@ -45,4 +48,138 @@ class DatetimeExpressionsSuite extends QueryTest {
0).getTime - System.currentTimeMillis()) < 5000)
}
+
+
+ val sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss")
+ val sdfDate = new SimpleDateFormat("yyyy-MM-dd")
+ val d = new Date(sdf.parse("2015-04-08 13:10:15").getTime)
+ val ts = new Timestamp(sdf.parse("2013-04-08 13:10:15").getTime)
+
+
+ test("date format") {
--- End diff --
since we have a lot of date functions, do you mind taking all the date
related tests out into a separate file?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]