wangyum commented on a change in pull request #24972: [WIP][SPARK-28167][SQL]
Show global temporary view in database tool
URL: https://github.com/apache/spark/pull/24972#discussion_r297500452
##########
File path:
sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/SparkMetadataOperationSuite.scala
##########
@@ -150,10 +154,13 @@ 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 TEMPORARY VIEW view_temp_1 AS SELECT 1 as col1",
Review comment:
@juliuszsompolski We can not show `TEMPORARY VIEW` because it's in different
session for some reason.
I have 2 questions here:
1. Do we need to support show `TEMPORARY VIEW` because it does not belong to
any database?
2. How do we show `TEMPORARY VIEW` if we support it?
----------------------------------------------------------------
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]