-
Notifications
You must be signed in to change notification settings - Fork 379
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#3699] refactor(API): Refactor client side FilesetCatalog to use rel…
…ative path in NameIdentifier (#3802) ### What changes were proposed in this pull request? Currently, in the FilesetCatalog.java, the methods like "loadFileset", "createFileset", "updateFileset" all need a NameIdentifier parameter, which needs to be a fully-qualified (metalake.catalog.schema.fileset) name. But the "metalake" and "catalog" are not needed, as they already be provided when load the catalog. To make the API clear and easier to use, we will change it to use a relative NameIdentifier object (which is "schema.fileset") as the fileset's ID, so that the user doesn't need to provide the metalake and catalog names repeatedly. Please note, this only affects the client side. ### Why are the changes needed? To make the API simple and easy to understand. Fix: #3699 ### Does this PR introduce _any_ user-facing change? No behavior change, just method parameter. ### How was this patch tested? No introduce new class or method, so the change will be covered by all existing test cases. --------- Co-authored-by: qqqttt123 <[email protected]> Co-authored-by: Heng Qin <[email protected]> Co-authored-by: Liang Chun <[email protected]> Co-authored-by: Lance Lin <[email protected]> Co-authored-by: LanceLin <[email protected]> Co-authored-by: Rory <[email protected]> Co-authored-by: mchades <[email protected]> Co-authored-by: Yuhui <[email protected]> Co-authored-by: Qi Yu <[email protected]> Co-authored-by: Junshen Tao <[email protected]> Co-authored-by: noidname01 <[email protected]> Co-authored-by: TimWang <[email protected]> Co-authored-by: Ikko Eltociear Ashimine <[email protected]> Co-authored-by: cai can <[email protected]> Co-authored-by: XiaoZ <[email protected]> Co-authored-by: zhanghan18 <[email protected]> Co-authored-by: rich7420 <[email protected]> Co-authored-by: hanwxx <[email protected]> Co-authored-by: Eric Chang <[email protected]> Co-authored-by: Jerry Shao <[email protected]> Co-authored-by: FANNG <[email protected]> Co-authored-by: Ziva Li <[email protected]> Co-authored-by: xloya <[email protected]> Co-authored-by: xiaojiebao <[email protected]> Co-authored-by: caican <[email protected]> SteNicholas <[email protected]> Co-authored-by: Kang <[email protected]> Co-authored-by: Xun Liu <[email protected]> Co-authored-by: Qian Xia <[email protected]> Co-authored-by: caican <[email protected]>
- Loading branch information
1 parent
ef91358
commit e5b3eb9
Showing
8 changed files
with
102 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.