Zouxxyy opened a new pull request, #8866:
URL: https://github.com/apache/paimon/pull/8866

   ### Purpose
   
   Populate the `done` field returned by `HiveCatalog.listPartitions` when 
`partition.mark-done-action` includes `mark-event`.
   
   The Hive catalog already marks partitions with Hive's `LOAD_DONE` event, but 
listing partitions always returned `done=false`. This change reads the event 
from HMS for metastore-partitioned tables and preserves existing partition 
statistics, audit fields, and options.
   
   ### Tests
   
   - Added `HiveCatalogTest#testListPartitionsWithDoneStatus`.
   - `mvn -pl paimon-hive/paimon-hive-catalog spotless:check -ntp`
   - Manual Flink 1.20 to Spark 3.5 E2E: Spark read `done=true` from the 
`$partitions` system table.
   


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

Reply via email to