Skip to content

[AMORO-4470] Hide databases and tables outside the catalog warehouse - #4471

Open
zhangwl9 wants to merge 1 commit into
apache:masterfrom
zhangwl9:amoro-fix-lance-hms-dev
Open

zhangwl9 wants to merge 1 commit into
apache:masterfrom
zhangwl9:amoro-fix-lance-hms-dev

Conversation

@zhangwl9

@zhangwl9 zhangwl9 commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Why are the changes needed?

Close #4470 .

Brief change log

-Scope listDatabases / listTables to the configured warehouse: compare each database's
database.location-uri (and short-circuit listTables for databases outside the
warehouse) against the warehouse value as read back from HMS
(file:///p is stored as file:/p).

How was this patch tested?

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

  • Add screenshots for manual tests if appropriate
    before:

image

after:
image

  • Run test locally before making a pull request

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
@zhangwl9
zhangwl9 force-pushed the amoro-fix-lance-hms-dev branch from 40c8db3 to e5c5e25 Compare October 28, 2026 02:31
@zhangwl9
zhangwl9 force-pushed the amoro-fix-lance-hms-dev branch from e5c5e25 to 5953bd2 Compare October 28, 2026 12:11

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

None yet

1 participant