Skip to content

Commit

Permalink
[apache#4964] web(ui): Support Hudi catalog on the Web (apache#5166)
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?
Support Hudi catalog on the Web
<img width="1314" alt="image"
src="https://github.com/user-attachments/assets/a89e75b4-5d68-41a4-b710-e166e4f38a4a">

### Why are the changes needed?
N/A

Fix: apache#4964

### Does this PR introduce _any_ user-facing change?
N/A

### How was this patch tested?
manually
  • Loading branch information
LauraXia123 authored Oct 21, 2024
1 parent f7a4fd8 commit 577c166
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/web/src/app/metalakes/metalake/MetalakeTree.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ const MetalakeTree = props => {
return 'custom-icons-doris'
case 'lakehouse-paimon':
return 'custom-icons-paimon'
case 'lakehouse-hudi':
return 'custom-icons-hudi'
default:
return 'bx:book'
}
Expand Down
5 changes: 5 additions & 0 deletions web/web/src/lib/icons/iconify-icons.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions web/web/src/lib/icons/svg/hudi.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions web/web/src/lib/utils/initial.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,5 +274,24 @@ export const providers = [
hide: 'simple'
}
]
},
{
label: 'Apache Hudi',
value: 'lakehouse-hudi',
defaultProps: [
{
key: 'catalog-backend',
value: 'hms',
defaultValue: 'hms',
required: true,
description: 'Apache Hudi catalog type choose properties'
},
{
key: 'uri',
value: '',
required: true,
description: 'Apache Hudi catalog uri config'
}
]
}
]

0 comments on commit 577c166

Please sign in to comment.