lasdf1234 opened a new pull request, #14734: URL: https://github.com/apache/gravitino/pull/14734
**Cherry-pick Information:** - Original PR / commit: #14675 / `aa92227f8d` - Target branch: `branch-1.3` - Status: ✅ Clean (no conflicts) ### What changes were proposed in this pull request? Port #14675 onto `branch-1.3` without the main-only table-metadata context refactor (and without `IcebergExpireSnapshotsJob`, which does not exist on 1.3): 1. **#14674 / #14677**: Partition-aware strategies require partition statistics; empty partition stats skip trigger and do not fall back to table-level metrics. `isPartitionTable()` also keys off `DataRequirement.PARTITION_STATISTICS`. 2. **#14676**: `GravitinoStrategyProvider` only returns enabled policies (`listPolicyInfos` + `Policy::enabled`); `strategy(name)` rejects disabled policies. 3. **#14690**: Stop printing the full `spark-conf` map from `IcebergRewriteDataFilesJob`. Supersedes the conflicted automated cherry-pick #14732. ### How was this patch tested? ``` ./gradlew :maintenance:optimizer:test --tests 'org.apache.gravitino.maintenance.optimizer.recommender.handler.compaction.TestCompactionStrategyHandler' --tests 'org.apache.gravitino.maintenance.optimizer.recommender.strategy.TestGravitinoStrategyProvider' -PskipITs ``` Made with [Cursor](https://cursor.com) -- 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]
