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


##########
core/src/main/java/org/apache/iceberg/BaseFile.java:
##########
@@ -434,6 +434,11 @@ public StructLike partition() {
     return partitionData;
   }
 
+  public void setPartitionData(PartitionData partitionData) {

Review Comment:
   Agreed. @rahil-c could we just reuse the existing constructor for 
`GenericDataFile` and `GenericDeleteFile` and copy over everything correctly 
with the new partition data during the binding? We should avoid exposing 
unnecessary public APIs when possibke



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to