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

   ### Purpose
   
   fix #11279
   
   - `CompactDatabaseAction.buildForUnawareBucketCompaction()` built 
`DataEvolutionTableCompact` without `partitionIdleTime`, so `compact_database` 
compacted recently written Data Evolution partitions in both `divided` and 
batch `combined` modes.
   - Pass it as `CompactAction` does since #11197, which fixed only the 
single-table path.
   - `testDataEvolutionOnlyCombinedCompact` drops its 1-day idle time: #10110 
used it as a routing check, and its comment ("no idle-time filtering") is stale 
since #11197. Routing stays covered by `testDataEvolutionTableCompact`.
   - Docs: add the Data Evolution sentence from `compact` to 
`compact_database`'s `partition_idle_time`.
   
   ### Tests
   
   - Added 
`CompactDatabaseActionITCase#testDataEvolutionCompactWithPartitionIdleTime` 
(divided/combined, action/SQL): idle table is compacted, active table stays 
`APPEND`. Without the fix all 4 cases fail on the active table (`expected: 3L 
but was: 4L`).
   - `mvn -pl paimon-flink/paimon-flink-common -Pflink1 
-Dtest=CompactDatabaseActionITCase clean install` (JDK 11, with 
checkstyle/spotless): 64/64 pass.
   


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