aokolnychyi commented on a change in pull request #3661:
URL: https://github.com/apache/iceberg/pull/3661#discussion_r762209905



##########
File path: 
spark/v3.2/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestDelete.java
##########
@@ -611,11 +619,22 @@ public synchronized void 
testDeleteWithSerializableIsolation() throws Interrupte
 
     // append thread
     Future<?> appendFuture = executorService.submit(() -> {
+      List<Integer> ids = ImmutableList.of(1, 2);
+      Dataset<Row> inputDF = spark.createDataset(ids, Encoders.INT())
+          .withColumnRenamed("value", "id")
+          .withColumn("dep", lit("hr"));
+
       for (int numOperations = 0; numOperations < Integer.MAX_VALUE; 
numOperations++) {
         while (barrier.get() < numOperations * 2) {
           sleep(10);
         }
-        sql("INSERT INTO TABLE %s VALUES (1, 'hr')", tableName);

Review comment:
       I had to modify as these became metadata deletes.




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