Skip to content

[AMORO-4553][Dashboard] Support configuring catalog table-filter with a searchable selector - #4554

Open
WangXiaoBao1222 wants to merge 2 commits into
apache:masterfrom
WangXiaoBao1222:wangxiaobao/catalog-table-filter-selector
Open

WangXiaoBao1222 wants to merge 2 commits into
apache:masterfrom
WangXiaoBao1222:wangxiaobao/catalog-table-filter-selector

Conversation

@WangXiaoBao1222

Copy link
Copy Markdown

Why are the changes needed?

Refs #4553.

Maintaining a long catalog table-filter allowlist manually is error-prone. A searchable table selector makes it easier to add and remove tables across databases.

Brief change log

  • Add a searchable two-panel database/table selector to the Catalog editor.
  • Support bulk selection and retain pending selections when switching databases.
  • Recognize legacy grouped exact rules and generate escaped, deduplicated exact-match alternatives.
  • Display tables matched by saved custom regex rules as checked and disabled.
  • Add dashboard APIs for unfiltered discovery and server-side Java regex matching, without changing normal catalog filtering.
  • Add tests, OpenAPI descriptions and user documentation.

Known limitations:

  • Custom regex matching uses the saved catalog configuration.
  • Advanced capture-group/backreference handling has known limitations and is not fixed in this branch.
  • Large-catalog discovery performance still requires validation.

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

    Added 8 frontend logic scenarios, controller unit tests and catalog assertions. The 8 frontend scenarios passed. Java tests have not run because required Maven dependencies are missing locally.

  • Add screenshots for manual tests if appropriate

    Live-service verification and screenshots for the community-master port are pending.

  • Run test locally before making a pull request

    Passed: Maven validate, formatting, frontend logic tests, targeted lint and Vite production build.

    Full frontend lint and typecheck report existing base-code diagnostics. Backend compilation and integration verification remain pending.

Documentation

  • Does this pull request introduce a new feature? yes
  • If yes, how is the feature documented? docs

Updated docs/admin-guides/managing-catalogs.md and the OpenAPI definitions.

moryanwang added 2 commits November 27, 2026 17:45
…ctor

Port the table-filter selector from c5efb6fcb onto the current community layout. Keep runtime filtering unchanged and document saved-regex matching behavior. Add frontend logic tests, controller tests and OpenAPI descriptions.
@github-actions github-actions Bot added type:docs Improvements or additions to documentation module:ams-server Ams server module module:ams-dashboard Ams dashboard module labels Nov 27, 2026
@WangXiaoBao1222
WangXiaoBao1222 marked this pull request as ready for review November 27, 2026 10:21

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module:ams-dashboard Ams dashboard module module:ams-server Ams server module type:docs Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant