Repository navigation
Fix azure init params - #105302
Fix azure init params#105302
Conversation
|
Workflow [PR], commit [003cd8d] Summary: ✅ AI ReviewSummaryThis PR replaces OneLake initialization from setting Tests
Final Verdict
|
| fillBlobsFromURLCommon(connection_url, ".com", ".dfs.fabric.microsoft.com"); | ||
|
|
||
| connection_params.endpoint.additional_params = "resource=REDACTED&directory=REDACTED&recursive=REDACTED"; | ||
| connection_params.endpoint.container_already_exists = true; |
There was a problem hiding this comment.
Please add a focused regression test for this OneLake path in src/Storages/tests/gtest_azure_configuration.cpp.
This fix changes initializeForOneLake from mutating endpoint.additional_params to setting endpoint.container_already_exists. Without a test, this can silently regress again because the OneLake branch is separate from the regular fromAST flow and currently uncovered.
A minimal test would call setInitializationAsOneLake, parse a one-argument azureBlobStorage(...)/Iceberg-on-OneLake path, and assert that container_already_exists is true and additional_params stays empty.
LLVM Coverage Report
Changed lines: 0.00% (0/4) · Uncovered code |
Cherry pick #105302 to 26.3: Fix azure init params
Cherry pick #105302 to 26.4: Fix azure init params
Cherry pick #105302 to 26.5: Fix azure init params
Backport #105302 to 26.5: Fix azure init params
Backport #105302 to 26.4: Fix azure init params
Backport #105302 to 26.3: Fix azure init params
Fix azure init params
…5302 Backport ClickHouse#105302 to 26.4: Fix azure init params
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fix azure init params
Version info
26.5.2.19,26.4.4.22,26.3.13.20