PavithranRick opened a new pull request, #17804: URL: https://github.com/apache/hudi/pull/17804
### Describe the issue this Pull Request addresses This PR reverts commit `15562b728318ed429c671d7203f3766b669a22f3`. https://github.com/apache/hudi/pull/14165 The reverted change tightly coupled partition stats with column stats, removing the ability to control them independently. This caused a loss of flexibility for users who want to disable partition stats while still leveraging column stats. ### Summary and Changelog This change restores flexibility in stats configuration by allowing **partition stats to be turned off independently while enabling column stats alone**. This is required as part of the column stats work, where users may want to use column-level statistics for query pruning without incurring the overhead or behavior associated with partition-level stats. **Detailed changes:** - Reverted the commit that enforced partition stats when column stats are enabled - Restored independent configuration and behavior for partition stats and column stats ### Impact There is no new public API introduced. This change restores previously supported behavior and configuration flexibility. Users can now enable column stats without being forced to enable partition stats. ### Risk Level Low. This is a revert of a recent change and restores earlier behavior. The impact is limited to stats configuration logic and does not affect data correctness. ### Documentation Update None. ### Contributor's checklist - [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [x] Enough context is provided in the sections above - [ ] Adequate tests were added if applicable -- 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]
