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 2020/08/07 09:47:30 UTC

[GitHub] [spark] ulysses-you commented on a change in pull request #29034: [SPARK-32219][SQL] Add SHOW CACHED TABLES Command

ulysses-you commented on a change in pull request #29034:
URL: https://github.com/apache/spark/pull/29034#discussion_r466938341



##########
File path: sql/core/src/test/resources/sql-tests/results/show-tables.sql.out
##########
@@ -117,6 +117,63 @@ show_t2
 show_t3
 
 
+-- !query
+CACHE TABLE show_t1
+-- !query schema
+struct<>
+-- !query output
+
+
+
+-- !query
+CACHE TABLE show_t5 AS SELECT 1
+-- !query schema
+struct<>
+-- !query output
+
+
+
+-- !query
+SHOW CACHED TABLES LIKE 'show_t*'
+-- !query schema
+struct<database:string,tableName:string,isTemporary:boolean>
+-- !query output
+show_t1
+show_t5

Review comment:
       added test in `DDLSuite`




----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org