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

[#1403] fix(UI): Remove unnecessary fields when creating a catalog in the web UI #1407

Conversation

jerryshao
Copy link
Contributor

What changes were proposed in this pull request?

Fix submitted the unnecessary fields when create a catalog.

if provider is iceberg, and catalog-backend is hive, the properties payload should not includes jdbc-*

  1. request payload
image
  1. response data
image

Why are the changes needed?

Fix: #1403

Does this PR introduce any user-facing change?

N/A

How was this patch tested?

N/A

… the web UI (#1404)

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

Fix submitted the unnecessary fields when create a catalog.

if `provider` is `iceberg`, and `catalog-backend` is `hive`, the
properties payload should not includes `jdbc-*`

1. request payload
<img width="270" alt="image"
src="https://github.com/datastrato/gravitino/assets/17310559/6b7a2947-0be9-49eb-8972-a302eea31d7f">

2. response data
<img width="269" alt="image"
src="https://github.com/datastrato/gravitino/assets/17310559/c2b2880e-fd4e-417e-9fe9-e3dc41beef0a">


### Why are the changes needed?

Fix: #1403

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

N/A

### How was this patch tested?

N/A
@jerryshao jerryshao added cherry-pick need backport Issues that need to backport to another branch labels Jan 9, 2024
Copy link

github-actions bot commented Jan 9, 2024

Code Coverage Report

Overall Project 66% 🟢

There is no coverage information present for the Files changed

@yuqi1129 yuqi1129 merged commit 13ff4c9 into branch-0.3 Jan 9, 2024
4 checks passed
@yuqi1129 yuqi1129 deleted the cherry-pick-branch-0.3-13703272ed58cae5eba693a3d5c50b76e642c3a4 branch January 9, 2024 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick need backport Issues that need to backport to another branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants