MaxGekk commented on a change in pull request #32176:
URL: https://github.com/apache/spark/pull/32176#discussion_r613838550



##########
File path: 
sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/SparkMetadataOperationSuite.scala
##########
@@ -355,6 +356,8 @@ class SparkMetadataOperationSuite extends 
HiveThriftServer2TestBase {
     val ddl = s"CREATE GLOBAL TEMP VIEW $viewName as select interval 1 day as 
i"
 
     withJdbcStatement(viewName) { statement =>
+      val legacyIntervalEnabled = SQLConf.get.legacyIntervalEnabled
+      statement.execute(s"SET ${SQLConf.LEGACY_INTERVAL_ENABLED.key}=true")

Review comment:
       Opened SPARK-35085 to have the same tests 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]

Reply via email to