amogh-jahagirdar commented on code in PR #10724:
URL: https://github.com/apache/iceberg/pull/10724#discussion_r1684933556


##########
core/src/main/java/org/apache/iceberg/DataFiles.java:
##########
@@ -259,11 +268,19 @@ public Builder withFileSizeInBytes(long 
newFileSizeInBytes) {
     }
 
     public Builder withPartitionPath(String newPartitionPath) {
+      return withPartitionPath(newPartitionPath, 
DEFAULT_PARTITION_STRING_CONVERSION);
+    }
+
+    public Builder withPartitionPath(
+        String newPartitionPath, BiFunction<String, Type, Object> 
partitionPathConverter) {

Review Comment:
   If there's general support for this idea, I'll add a unit test that 
exercises a simple custom conversion logic.



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