juliuszsompolski commented on a change in pull request #24985:
[SPARK-28184][SQL][TEST] Avoid creating new sessions in
SparkMetadataOperationSuite
URL: https://github.com/apache/spark/pull/24985#discussion_r298247861
##########
File path:
sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/SparkMetadataOperationSuite.scala
##########
@@ -150,75 +68,35 @@ class SparkMetadataOperationSuite extends
HiveThriftJdbcTest {
Seq(
"CREATE TABLE table1(key INT, val STRING)",
"CREATE TABLE table2(key INT, val STRING)",
- "CREATE VIEW view1 AS SELECT * FROM table2").foreach(statement.execute)
+ "CREATE VIEW view1 AS SELECT * FROM table2",
+ "CREATE OR REPLACE GLOBAL TEMPORARY VIEW view_global_temp_1 AS SELECT
1 AS col1",
+ "CREATE OR REPLACE TEMPORARY VIEW view_temp_1 AS SELECT 1 as col1"
Review comment:
Handling of views depends on #24972, but you want to add it now, and then
change the answers in #24972 ? Fine by me.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]