MaxGekk commented on a change in pull request #32176:
URL: https://github.com/apache/spark/pull/32176#discussion_r613839136
##########
File path:
sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2Suites.scala
##########
@@ -664,9 +664,12 @@ class HiveThriftBinaryServerSuite extends
HiveThriftServer2Test {
test("Support interval type") {
withJdbcStatement() { statement =>
+ val legacyIntervalEnabled = SQLConf.get.legacyIntervalEnabled
+ statement.execute(s"SET ${SQLConf.LEGACY_INTERVAL_ENABLED.key}=true")
Review comment:
Opened SPARK-35086 for ANSI intervals
##########
File path:
sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2Suites.scala
##########
@@ -683,6 +686,8 @@ class HiveThriftBinaryServerSuite extends
HiveThriftServer2Test {
val ddl1 = s"CREATE GLOBAL TEMP VIEW $viewName1 AS SELECT INTERVAL 1 DAY
AS i"
val ddl2 = s"CREATE TEMP VIEW $viewName2 as select * from
global_temp.$viewName1"
withJdbcStatement(viewName1, viewName2) { statement =>
+ val legacyIntervalEnabled = SQLConf.get.legacyIntervalEnabled
+ statement.execute(s"SET ${SQLConf.LEGACY_INTERVAL_ENABLED.key}=true")
Review comment:
Opened SPARK-35086 for ANSI intervals
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]