flyrain opened a new pull request, #1011: URL: https://github.com/apache/polaris/pull/1011
Experiment: 1. Added a DAO layer for the business entity namespace(except the read). 2. Integrated with existing DAO components (PolarisMetaStoreManager and PolarisMetaStoreSession). 3. All tests passed successfully. Benefits: 1. Compatible with the existing backend(FDB), as we hide them behind the new DAO. 2. Adding new backends(Postgres/MongoDB) is much easier now, esp for Postgres, we could be able to use a similar model as Iceberg Jdbc catalog. 3. Allows gradual refactoring to remove old DAO dependencies (PolarisMetaStoreManager and PolarisMetaStoreSession). 4. Enables parallel development of new backend implementations. Next Steps: 1. Define business entities one by one to decouple them from FDB. 2. Create DAO interfaces for each entity to standardize operations (e.g., CRUD, ID generation). 3. Expand DAO implementations to support additional backends over time. Please check the detailed design doc: https://docs.google.com/document/d/1Vuhw5b9-6KAol2vU3HUs9FJwcgWtiVVXMYhLtGmz53s/edit?usp=sharing -- 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]
