dongjoon-hyun commented on a change in pull request #24081: [SPARK-27151][SQL] 
ClearCacheCommand should be case-object to avoid copys
URL: https://github.com/apache/spark/pull/24081#discussion_r265356176
 
 

 ##########
 File path: sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala
 ##########
 @@ -3013,6 +3013,16 @@ class SQLQuerySuite extends QueryTest with 
SharedSQLContext {
       sql("reset")
     }
   }
+
+  test("clear cache command should not fail with cache") {
+    withTable("tbl") {
+      val provider = spark.sessionState.conf.defaultDataSourceName
 
 Review comment:
   Thank you for using this portable line!

----------------------------------------------------------------
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]

Reply via email to