Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#3702]refactor(API): Refactoring SupportsCatalogs.listCatalogs() method to return String[] #3741

Merged
merged 5 commits into from
Jun 5, 2024

Conversation

shaofengshi
Copy link
Contributor

What changes were proposed in this pull request?

Currently, the SupportsCatalogs.listCatalogs() method returns an array of NameIdentifier to represents the catalogs. Actually a String[] will be more clear and easier to use.

Why are the changes needed?

To make the API more clear to use.

Fix: #3702

Does this PR introduce any user-facing change?

Almost not; Just return type changed, will be more simple.

How was this patch tested?

Yes, many test cases cover this API.

@shaofengshi shaofengshi self-assigned this Jun 4, 2024
@shaofengshi
Copy link
Contributor Author

The document update will be raised soon in another PR: #3742

@shaofengshi shaofengshi requested review from yuqi1129 and diqiu50 June 4, 2024 05:02
Copy link
Contributor

@diqiu50 diqiu50 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@shaofengshi shaofengshi requested a review from jerryshao June 5, 2024 05:01
Copy link
Contributor

@jerryshao jerryshao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@jerryshao jerryshao merged commit c5c9bef into apache:main Jun 5, 2024
33 checks passed
@shaofengshi shaofengshi deleted the 3702 branch June 6, 2024 00:27
diqiu50 pushed a commit to diqiu50/gravitino that referenced this pull request Jun 13, 2024
…() method to return String[] (apache#3741)

### What changes were proposed in this pull request?

Currently, the SupportsCatalogs.listCatalogs() method returns an array
of NameIdentifier to represents the catalogs. Actually a String[] will
be more clear and easier to use.

### Why are the changes needed?

To make the API more clear to use.

Fix: apache#3702

### Does this PR introduce _any_ user-facing change?

Almost not; Just return type changed, will be more simple.

### How was this patch tested?

Yes, many test cases cover this API.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Subtask] Refactoring SupportsCatalogs.listCatalogs() method in client side
3 participants