Show datalake catalogs in SHOW DATABASES query#89914
Merged
Conversation
Contributor
|
Workflow [PR], commit [ee3d937] Summary: ❌
|
Member
Author
|
Followup to #88341 |
This was referenced Nov 12, 2025
robot-clickhouse
added a commit
that referenced
this pull request
Nov 12, 2025
clickhouse-gh Bot
added a commit
that referenced
this pull request
Nov 12, 2025
Backport #89914 to 25.10: Show datalake catalogs in SHOW DATABASES query
zvonand
pushed a commit
to Altinity/ClickHouse
that referenced
this pull request
Dec 29, 2025
…show_databses Show datalake catalogs in SHOW DATABASES query
zvonand
added a commit
to Altinity/ClickHouse
that referenced
this pull request
Jan 6, 2026
25.8.13 Backport of ClickHouse#89914 - Show datalake catalogs in SHOW DATABASES query
zvonand
pushed a commit
to Altinity/ClickHouse
that referenced
this pull request
Jan 9, 2026
Backport ClickHouse#89914 to 25.10: Show datalake catalogs in SHOW DATABASES query
25 tasks
zvonand
added a commit
to Altinity/ClickHouse
that referenced
this pull request
Jan 14, 2026
Antalya 25.8 Backport of ClickHouse#89914: Show datalake catalogs in SHOW DATABASES query
zvonand
pushed a commit
to Altinity/ClickHouse
that referenced
this pull request
Jan 14, 2026
…show_databses Show datalake catalogs in SHOW DATABASES query
25 tasks
zvonand
pushed a commit
to Altinity/ClickHouse
that referenced
this pull request
Jan 22, 2026
…show_databses Show datalake catalogs in SHOW DATABASES query
25 tasks
zvonand
added a commit
to Altinity/ClickHouse
that referenced
this pull request
Jan 27, 2026
25.8.15 Stable backport of ClickHouse#88341, ClickHouse#89914
Contributor
|
DataLakeCatalog database is not shown in system.databases when show_data_lake_catalogs_in_system_tables is set to 0: |
zoomxi
pushed a commit
to zoomxi/ClickHouse
that referenced
this pull request
Apr 27, 2026
`system.databases` now lists data lake catalog databases regardless of the `show_data_lake_catalogs_in_system_tables` setting. The setting exists to prevent accidental expensive calls to remote catalog services (e.g. listing tables or columns). Knowing that a catalog database exists, however, requires no remote call — the `DatabaseCatalog` already keeps it in local memory. Hiding the database in `system.databases` based on that setting was inconsistent with `SHOW DATABASES` (which always showed catalogs since ClickHouse#89914) and confusing for users. Changes: - `StorageSystemDatabases::fillData` now passes `with_datalake_catalogs = true` unconditionally. - `InterpreterShowTablesQuery::execute` no longer needs to force the setting for `SHOW DATABASES` (the rewrite to `system.databases` already returns the right result). The HACK is retained only for `SHOW TABLES FROM <datalake_catalog>` which still needs it. - Updated `test_database_glue` integration test to assert that `system.databases` shows the catalog even with the setting off. Followup to: ClickHouse#89914 Made-with: Cursor
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.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Now ClickHouse will show data lake catalog database in
SHOW DATABASESquery by default.Documentation entry for user-facing changes