nastra commented on code in PR #16452:
URL: https://github.com/apache/iceberg/pull/16452#discussion_r3280857824


##########
spark/v4.1/spark/src/main/java/org/apache/iceberg/spark/source/SparkFileWriterFactory.java:
##########
@@ -167,9 +167,7 @@ public PositionDeleteWriter<InternalRow> 
newPositionDeleteWriter(
       LOG.warn("Position deletes with deleted rows are deprecated and will be 
removed in 1.12.0.");
       Map<String, String> properties = table == null ? ImmutableMap.of() : 
table.properties();
       MetricsConfig metricsConfig =
-          table == null
-              ? MetricsConfig.forPositionDelete()
-              : MetricsConfig.forPositionDelete(table);
+          table == null ? MetricsConfig.forPositionDelete() : 
MetricsConfig.forPositionDelete();

Review Comment:
   this now does the same thing in both branches



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