lilei1128 opened a new pull request, #11224:
URL: https://github.com/apache/paimon/pull/11224
### Purpose
When no partition meets the history idle threshold, the empty candidate
list becomes a null partition predicate. The subsequent snapshot scan
then includes active partitions, so a scoped compact may fully cluster
a partition the user did not request. Return an empty result before
that scan when there are no eligible history partitions.
See:
<img width="1281" height="600" alt="image"
src="https://github.com/user-attachments/assets/8941f015-13dd-4b2a-97a2-9f3825bff0cb"
/>
### Tests
HistoryPartitionClusterTest#testNoHistoryPartitionsDoesNotClusterActivePartition
--
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]