gaborkaszab commented on code in PR #16688:
URL: https://github.com/apache/iceberg/pull/16688#discussion_r3368876925
##########
core/src/main/java/org/apache/iceberg/TrackedFileStruct.java:
##########
@@ -301,10 +313,10 @@ protected <T> void internalSet(int pos, T value) {
this.fileFormat = FileFormat.fromString(value.toString());
break;
case 4:
- this.recordCount = (Long) value;
+ this.recordCount = (long) value;
Review Comment:
It is unrelated. I noticed `record_count` is primitive long, while we
convert to object Long here. Didn't;t want to start a PR with a single line
change. I can split this into a separate one, let me know.
--
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]