moomindani commented on issue #14375:
URL: https://github.com/apache/iceberg/issues/14375#issuecomment-4190692661

   I agree with @raunaqmorarka's perspective — an unpartitioned table can be 
naturally modeled as a partitioned table with a single partition. Reusing the 
existing partition statistics infrastructure keeps the design consistent and 
avoids introducing a separate mechanism for table-level statistics.
   
   Looking at the current implementation, the restriction to partitioned tables 
is enforced by a few precondition checks in `PartitionStatsHandler` and 
`PartitionStatistics`, while the spec itself does not explicitly prohibit 
unpartitioned tables. The `EMPTY_PARTITION_FIELD` constant already exists to 
represent an empty partition struct, which could serve as the single partition 
entry for unpartitioned tables.


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