nastra commented on code in PR #16407:
URL: https://github.com/apache/iceberg/pull/16407#discussion_r3267240671
##########
api/src/main/java/org/apache/iceberg/PartitionStatistics.java:
##########
@@ -58,7 +58,7 @@ public interface PartitionStatistics extends StructLike {
static Schema schema(Types.StructType unifiedPartitionType, int
formatVersion) {
Preconditions.checkState(!unifiedPartitionType.fields().isEmpty(), "Table
must be partitioned");
- Preconditions.checkState(formatVersion > 0, "Invalid format version: %d",
formatVersion);
+ Preconditions.checkState(formatVersion > 0, "Invalid format version: %s",
formatVersion);
Review Comment:
how did the error msg look like before this fix?
--
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]