Skip to content

Fix test_show_data_lake_catalogs_setting after #103444 - #103601

Merged
fm4v merged 1 commit into
masterfrom
nik/fix-test-show-data-lake-catalogs-setting
Apr 27, 2026
Merged

fm4v merged 1 commit into
masterfrom
nik/fix-test-show-data-lake-catalogs-setting

Conversation

@fm4v

@fm4v fm4v commented Apr 27, 2026 •

Copy link
Copy Markdown
Member

PR #103444 ("Fix: system.databases always shows data lake catalog databases") changed system.databases to always list data lake catalog databases regardless of show_data_lake_catalogs_in_system_tables. The setting still gates system.tables, system.columns, system.iceberg_history, etc., where listing requires a remote catalog call.

tests/integration/test_e2e_catalogs/test.py::test_show_data_lake_catalogs_setting was still asserting the old contract (DB hidden when the setting is 0) and started failing in NightlyE2E across all three parametrizations (biglake, glue, onelake). Update the assertion to match the new contract: the catalog DB is visible in system.databases for both setting values.

Failing run: https://github.com/ClickHouse/clickhouse-private/actions/runs/24975011007/job/73125306981

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

...

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

Version info

  • Merged into: 26.5.1.133

PR #103444 changed `system.databases` to always list data lake catalog
databases regardless of the `show_data_lake_catalogs_in_system_tables`
setting: the database name is local metadata and never requires a call
to the external catalog. The setting still gates `system.tables`,
`system.columns`, `system.iceberg_history`, etc.

Update the assertion to match the new contract: the catalog DB is
visible in `system.databases` for both setting values.
@fm4v
fm4v enabled auto-merge April 27, 2026 09:45
@clickhouse-gh

clickhouse-gh Bot commented Apr 27, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [79850b6]

Summary: ❌

job_name test_name status info comment
Stateless tests (amd_llvm_coverage, old analyzer, s3 storage, DatabaseReplicated, WasmEdge, parallel) FAIL
04122_serialization_time64_formats FAIL cidb IGNORED
Stateless tests (amd_llvm_coverage, ParallelReplicas, s3 storage, parallel) FAIL
04122_serialization_time64_formats FAIL cidb IGNORED
Stateless tests (amd_llvm_coverage, AsyncInsert, s3 storage, parallel) FAIL
04122_serialization_time64_formats FAIL cidb IGNORED
Stateless tests (amd_llvm_coverage, 2/3) FAIL
04122_serialization_time64_formats FAIL cidb IGNORED
Integration tests (amd_asan_ubsan, flaky) ERROR IGNORED

AI Review

Summary

This PR updates test_show_data_lake_catalogs_setting to match the behavior introduced in #103444: system.databases should show DataLakeCatalog databases regardless of show_data_lake_catalogs_in_system_tables. I did not find correctness, safety, or performance issues in this change.

ClickHouse Rules
Item Status Notes
Deletion logging ➖
Serialization versioning ➖
Core-area scrutiny ✅
No test removal ✅
Experimental gate ➖
No magic constants ✅
Backward compatibility ✅
SettingsChangesHistory.cpp ➖
PR metadata quality ✅
Safe rollout ✅
Compilation time ✅
No large/binary files ✅
Final Verdict

Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-ci label Apr 27, 2026
@fm4v
fm4v added this pull request to the merge queue Apr 27, 2026
Merged via the queue into master with commit 92e3c86 Apr 27, 2026
159 of 165 checks passed
@fm4v
fm4v deleted the nik/fix-test-show-data-lake-catalogs-setting branch April 27, 2026 16:43
@robot-clickhouse robot-clickhouse added the pr-synced-to-cloud The PR is synced to the cloud repo label Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-ci pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants