Skip to content

[#12094] web-v2(UI): Support creating Doris tables with range/list partitions via Gravitino UI#12100

Open
LauraXia123 wants to merge 3 commits into
apache:mainfrom
LauraXia123:issue-12094
Open

[#12094] web-v2(UI): Support creating Doris tables with range/list partitions via Gravitino UI#12100
LauraXia123 wants to merge 3 commits into
apache:mainfrom
LauraXia123:issue-12094

Conversation

@LauraXia123

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

image image

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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 PartitionPanel component 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 (including type and properties) 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.

Comment thread web-v2/web/src/app/catalogs/rightContent/CreateTableDialog.js Outdated
Comment thread web-v2/web/src/app/catalogs/rightContent/CreateTableDialog.js Outdated
Comment thread web-v2/web/src/app/catalogs/rightContent/CreateTableDialog.js Outdated
Comment thread web-v2/web/src/components/PartitionPanel.js
Comment thread web-v2/web/src/components/PartitionPanel.js Outdated
Comment thread web-v2/web/src/components/PartitionPanel.js Outdated
LauraXia123 and others added 2 commits July 20, 2026 15:03
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@LauraXia123
LauraXia123 requested a review from yuqi1129 July 21, 2026 07:01
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.

[Improvement] Support creating Doris tables with range/list partitions via Gravitino UI

2 participants