nastra commented on code in PR #14739:
URL: https://github.com/apache/iceberg/pull/14739#discussion_r2584379722


##########
core/src/main/java/org/apache/iceberg/ContentFileParser.java:
##########
@@ -345,4 +350,24 @@ private static PartitionData partitionFromJson(
 
     return partitionData;
   }
+
+  private static FileContent fileContentFromJson(String content) {
+    Preconditions.checkArgument(content != null, "Invalid file content: null");
+    switch (content) {
+      case "data":

Review Comment:
   can we add these strings as constants?



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