diff --git a/core/src/main/java/org/apache/iceberg/avro/GenericAvroReader.java b/core/src/main/java/org/apache/iceberg/avro/GenericAvroReader.java index 23ead9a29da1..d76ac6c103c8 100644 --- a/core/src/main/java/org/apache/iceberg/avro/GenericAvroReader.java +++ b/core/src/main/java/org/apache/iceberg/avro/GenericAvroReader.java @@ -124,8 +124,7 @@ public ValueReader record(Type partner, Schema record, List> f Object constant = idToConstant.get(fieldId); if (projectionPos != null && constant != null) { - readPlan.add( - Pair.of(projectionPos, ValueReaders.replaceWithConstant(reader, constant))); + readPlan.add(Pair.of(projectionPos, ValueReaders.replaceWithConstant(reader, constant))); } else { readPlan.add(Pair.of(projectionPos, reader)); }