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


##########
core/src/main/java/org/apache/iceberg/SnapshotSummary.java:
##########
@@ -148,7 +148,7 @@ public void set(String property, String value) {
     }
 
     private void updatePartitions(PartitionSpec spec, ContentFile<?> file, 
boolean isAddition) {
-      if (trustPartitionMetrics) {
+      if (spec.isPartitioned() && trustPartitionMetrics) {

Review Comment:
   IIRC, `.partitions` metadata table also shows unpartitioned data as null 
key. Do we need to handle there aswell to make it unified? 



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