RussellSpitzer commented on code in PR #4620:
URL: https://github.com/apache/iceberg/pull/4620#discussion_r858043817
##########
core/src/main/java/org/apache/iceberg/io/FanoutWriter.java:
##########
@@ -55,7 +55,7 @@ public void write(T row, PartitionSpec spec, StructLike
partition) {
}
private FileWriter<T, R> writer(PartitionSpec spec, StructLike partition) {
- Map<StructLike, FileWriter<T, R>> specWriters = writers.computeIfAbsent(
+ StructLikeMap<FileWriter<T, R>> specWriters = writers.computeIfAbsent(
Review Comment:
:+1: I think this was fine before just because the actual implementation
that uses this always returns a StructLikeMap (See line 60).
--
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]