You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gravitino provides a generic implementation of catalog operations, Some users may need some customization implementation to meet internal requirements. Provides a pluggable way to inject customer logic code to current interfaces, without mixing Gravitino code and customer code to reduce the abundance of maintaining Gravitino and custom logic.
### What changes were proposed in this pull request?
1. add a hacky catalog config 'ops-impl' to specify the custom catalog
operation
2. some changes to CatalogOperation
a. move `entity` from XXCatalogOperation constructor to initialize(), to
construct custom catalog operation using reflect easily.
b. move CatalogOperation#initialize() from XXCatalogOperation#newOps()
to BaseCatalog#Ops(), because initialize is the API, it should be called
explicitly by the framework not by specific XXCatalogOperation.
### Why are the changes needed?
Fix: #2455
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?
UT and IT
What would you like to be improved?
Gravitino provides a generic implementation of catalog operations, Some users may need some customization implementation to meet internal requirements. Provides a pluggable way to inject customer logic code to current interfaces, without mixing Gravitino code and customer code to reduce the abundance of maintaining Gravitino and custom logic.
design doc:
https://docs.google.com/document/d/1VNZ71mASBm5BNRivor3QIsqr2cbb4ro4WP-ND5-3Tp0/edit#heading=h.y8hqy3jdlqy4
How should we improve?
No response
The text was updated successfully, but these errors were encountered: