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/11/22 16:43:57 UTC
[GitHub] [spark] gengliangwang commented on a change in pull request #34647: [SPARK-36180][SQL] Support TimestampNTZ type in Hive
gengliangwang commented on a change in pull request #34647:
URL: https://github.com/apache/spark/pull/34647#discussion_r754456952
##########
File path: sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala
##########
@@ -2659,6 +2660,19 @@ abstract class SQLQuerySuiteBase extends QueryTest with SQLTestUtils with TestHi
}
}
}
+
+ test("SPARK-36180: Support TimestampNTZ type in Hive") {
+ withTable("tb") {
+ val dt = "2018-11-17 13:33:33.0"
+ val ddl =
+ s"CREATE TABLE tb as SELECT TIMESTAMP_LTZ'$dt' as c0, TIMESTAMP_NTZ '$dt' as c1"
Review comment:
I am +1 with option 2. The benefit is that users can create/read tables with TimestampNTZ columns.
--
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