suryaprasanna opened a new pull request, #18202:
URL: https://github.com/apache/hudi/pull/18202
### Describe the issue this Pull Request addresses
Ports `HoodieSparkSQLUtils` support from release into current branch and
validates the API behavior with Scala tests under `org/apache/hudi/utils`.
### Summary and Changelog
- Add `HoodieSparkSQLUtils` with APIs to resolve table base path and load
table/base-path pairs from Hive metastore.
- Add `TestHoodieSparkSQLUtils` to verify both `getBasePathFromTableName`
overloads and both `loadHoodiePathsFromHive` overloads.
- Keep filtering behavior aligned with current implementation (`InputFormat`
value check with `startsWith("Hoodie")`).
### Impact
Introduces a new Spark utility API class and a corresponding test suite; no
storage format or protocol changes.
### Risk Level
low - changes are additive and covered by a dedicated test suite for API
behavior.
### Documentation Update
none
### Contributor's checklist
- [x] Read through [contributor's
guide](https://hudi.apache.org/contribute/how-to-contribute)
- [x] Enough context is provided in the sections above
- [x] Adequate tests were added if applicable
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]