ajantha-bhat commented on code in PR #5338:
URL: https://github.com/apache/iceberg/pull/5338#discussion_r968292957


##########
api/src/main/java/org/apache/iceberg/ManifestFile.java:
##########
@@ -52,11 +52,11 @@ public interface ManifestFile {
       optional(
           503, "added_snapshot_id", Types.LongType.get(), "Snapshot ID that 
added the manifest");
   Types.NestedField ADDED_FILES_COUNT =
-      optional(504, "added_data_files_count", Types.IntegerType.get(), "Added 
entry count");
+      optional(504, "added_files_count", Types.IntegerType.get(), "Added entry 
count");
   Types.NestedField EXISTING_FILES_COUNT =
-      optional(505, "existing_data_files_count", Types.IntegerType.get(), 
"Existing entry count");
+      optional(505, "existing_files_count", Types.IntegerType.get(), "Existing 
entry count");
   Types.NestedField DELETED_FILES_COUNT =
-      optional(506, "deleted_data_files_count", Types.IntegerType.get(), 
"Deleted entry count");
+      optional(506, "deleted_files_count", Types.IntegerType.get(), "Deleted 
entry count");

Review Comment:
   I thought we change the spec document instead of changing the schema (field 
names) here.
   I saw the comments down below. Agree that this doesn't break compatibility. 
   
   But If we follow this path, `manifest_entry` has a field called `data_file` 
which represents both data and delete file 
(https://github.com/apache/iceberg/blame/master/format/spec.md#L421) May be we 
need to rename that aswell?



-- 
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]

Reply via email to