cloud-fan commented on a change in pull request #30270:
URL: https://github.com/apache/spark/pull/30270#discussion_r519608729
##########
File path: sql/hive/src/test/scala/org/apache/spark/sql/hive/test/TestHive.scala
##########
@@ -496,7 +496,10 @@ private[hive] class TestHiveSparkSession(
def getLoadedTables: collection.mutable.HashSet[String] =
sharedState.loadedTables
def loadTestTable(name: String): Unit = {
- if (!sharedState.loadedTables.contains(name)) {
+ // LOAD DATA does not work on temporary views. Since temporary views are
resolved first,
+ // skip loading if there exists a temporary view with the given name.
Review comment:
what happens if we don't skip?
----------------------------------------------------------------
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]