Github user rxin commented on a diff in the pull request:
https://github.com/apache/spark/pull/7226#discussion_r33908974
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala
---
@@ -1458,4 +1458,14 @@ class SQLQuerySuite extends QueryTest with
BeforeAndAfterAll with SQLTestUtils {
checkAnswer(sql("SELECT * FROM t ORDER BY NULL"), Seq(Row(1, 2),
Row(1, 2)))
}
}
+
+ test("SPARK-8753: add interval type") {
+ val df = sql("select interval 3 year, interval -14 month, interval 99
second, interval -4 day")
+ checkAnswer(df, Row(36, -14, 99L, -345600L))
+ withTempPath(f => {
--- End diff --
add an inline comment here saying we don't yet support saving out interval
data types.
---
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]