rdblue commented on code in PR #12774:
URL: https://github.com/apache/iceberg/pull/12774#discussion_r2771680420
##########
core/src/main/java/org/apache/iceberg/deletes/PositionDeleteWriter.java:
##########
@@ -60,7 +60,7 @@ public class PositionDeleteWriter<T> implements
FileWriter<PositionDelete<T>, De
private DeleteFile deleteFile = null;
public PositionDeleteWriter(
- FileAppender<StructLike> appender,
+ FileAppender<PositionDelete<T>> appender,
Review Comment:
Here's what I was able to get working for the constructor that preserves
source compatibility:
```java
@Deprecated
@SuppressWarnings("unchecked")
public PositionDeleteWriter(
FileAppender<? extends StructLike> appender,
FileFormat format,
String location,
PartitionSpec spec,
StructLike partition,
EncryptionKeyMetadata keyMetadata) {
this((FileAppender<PositionDelete<T>>) appender, format, location, spec,
partition, keyMetadata, false);
}
```
--
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]