[#12094] web-v2(UI): Support creating Doris tables with range/list partitions via Gravitino UI#12100
Open
LauraXia123 wants to merge 3 commits into
Open
[#12094] web-v2(UI): Support creating Doris tables with range/list partitions via Gravitino UI#12100LauraXia123 wants to merge 3 commits into
LauraXia123 wants to merge 3 commits into
Conversation
…ist partitions via Gravitino UI
Contributor
There was a problem hiding this comment.
Pull request overview
This PR enhances the web-v2 table-creation UX to support Doris table partitioning with range and list strategies, aligning the UI’s partition payload and editing/view flows with the backend partitioning/partition DTO semantics.
Changes:
- Added a dedicated
PartitionPanelcomponent that supports range/list assignment editing and mitigates the prior range-field reset behavior. - Updated table create/edit submit logic to emit Doris-compatible
assignments(includingtypeandproperties) and to hydrate range/list assignments when loading an existing table. - Improved table details rendering to better represent range partitions (including assignment count).
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| web-v2/web/src/config/index.js | Extends allowed type filtering for the range partition strategy. |
| web-v2/web/src/components/PartitionPanel.js | New partition UI supporting Doris range/list assignments and Doris list NOT NULL enforcement. |
| web-v2/web/src/app/catalogs/rightContent/entitiesContent/TableDetailsPage.js | Improves partitioning text rendering for range and carries assignments through. |
| web-v2/web/src/app/catalogs/rightContent/CreateTableDialog.js | Integrates PartitionPanel, hydrates assignments on edit, and builds range/list assignment payloads on submit. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Why are the changes needed?
N/A
Fix: #12094
Does this PR introduce any user-facing change?
N/A
How was this patch tested?
N/A