vinishjail97 opened a new pull request, #17695: URL: https://github.com/apache/hudi/pull/17695
### Describe the issue this Pull Request addresses Fixes an issue where Hudi tables fail to load with IllegalArgumentException: "is not a Hudi table" when hoodie.database.name is not set in the table config during initialization. This occurs because when both table.identifier.database and getCurrentDatabase are null/empty during table initialization, the database name is not defaulted to "default", causing inconsistent behavior between table creation and querying. ### Summary and Changelog Tables initialized without an explicit database name now correctly default to "default" database, preventing subsequent read failures. ### Impact No public API changes. This is an internal fix to ensure consistent behavior. ### Risk Level Low ### 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 -- 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]
