[4176]feat(iceberg) support multiple catalogs in the iceberg rest catalog server
What changes were proposed in this pull request?
design doc: https://docs.google.com/document/d/1_XwsVHAzUjPCyOnJml69VkzhKI9veFvMo5OzGcKCEAk/edit
- Iceberg rest catalog clients could use gravitino iceberg catalogs through the iceberg-rest AuxiliaryService.
- Administers could enable or disable this feature by configuration.
Why are the changes needed?
The Gravitino catalog system could cooperate with the Iceberg catalog system more easily.
Fix: #4176
Does this PR introduce any user-facing change?
Yes.
How was this patch tested?
- Manually test
- Add UT
@FANNG1 @jerryshao please help to review, Thanks.
thanks for proposing the PR, some quick thought:
- how should we present the
prefix, name or id? how other vendors like tabular organize it? - we need something like
catalogStoreto retriew the catalog configurations, we'd better do some abstraction and make it pluggable not directly using Gravitino or entity store. - a design doc is preferred.
thanks for proposing the PR, some quick thought:
- how should we present the
prefix, name or id? how other vendors like tabular organize it?- we need something like
catalogStoreto retriew the catalog configurations, we'd better do some abstraction and make it pluggable not directly using Gravitino or entity store.- a design doc is preferred.
The design doc here, the above questions were responded to in it. We could discuss more in the doc. https://docs.google.com/document/d/1_XwsVHAzUjPCyOnJml69VkzhKI9veFvMo5OzGcKCEAk/edit
could you add document to docs/iceberg-rest-service.md ?
could you add document to
docs/iceberg-rest-service.md?
ok, I have added the content to it.
@FANNG1 could you help review again?
@FANNG1 All checks have passed. Could you help review it again? Thanks
LGTM except few comments, it's nearly ready to merge, @jerryshao do you have time to review again?
LGTM except few comments, it's nearly ready to merge, @jerryshao do you have time to review again?
All remaining flaws have been solved. Thanks for reviewing it.
@theoryxu merged to main, thanks for your contribution.