imback82 commented on a change in pull request #30403:
URL: https://github.com/apache/spark/pull/30403#discussion_r530652131
##########
File path:
sql/hive/src/test/scala/org/apache/spark/sql/hive/CachedTableSuite.scala
##########
@@ -421,7 +421,7 @@ class CachedTableSuite extends QueryTest with SQLTestUtils
with TestHiveSingleto
activateDatabase(db) {
sql("REFRESH TABLE default.cachedTable")
assertCached(
- sql("SELECT * FROM default.cachedTable"),
"`default`.`cachedTable`", DISK_ONLY)
+ sql("SELECT * FROM default.cachedTable"), "cachedTable",
DISK_ONLY)
Review comment:
Because the cache was created with `CACHE TABLE cachedTable
OPTIONS('storageLevel' 'DISK_ONLY')`. Before, `cachedTable` was resolved to
`default.cachedTable` in `ResolveSessionCatalog`.
Note that it's just a name of cache builder and doesn't affect
`spark.catalog.isCached(tableName: String)`.
----------------------------------------------------------------
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]