rdblue commented on code in PR #7886:
URL: https://github.com/apache/iceberg/pull/7886#discussion_r1264217901


##########
spark/v3.4/spark/src/test/java/org/apache/iceberg/spark/source/TestSparkScan.java:
##########
@@ -49,9 +77,14 @@ public TestSparkScan(String format) {
     this.format = format;
   }
 
+  @Before
+  public void useCatalog() {
+    sql("USE %s", catalogName);
+  }
+
   @After
   public void removeTables() {
-    sql("DROP TABLE IF EXISTS %s", tableName);
+    sql("DROP TABLE IF EXISTS %s PURGE", tableName);

Review Comment:
   Why was this needed? We discourage the use of PURGE in general. Are you 
reusing table names or locations?



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to