Skip to content

Rewrite the Iceberg code to reduce diff with private - #99869

Merged
divanik merged 6 commits into
masterfrom
divanik/rewrite_the_code_to_redude_diff
Mar 19, 2026
Merged

divanik merged 6 commits into
masterfrom
divanik/rewrite_the_code_to_redude_diff

Conversation

@divanik

@divanik divanik commented Mar 18, 2026 •

Copy link
Copy Markdown
Contributor

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Prerequisite PR to merge the https://github.com/ClickHouse/clickhouse-private/pull/52819 with smaller diff

@clickhouse-gh

clickhouse-gh Bot commented Mar 18, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [9b37a8c]

Summary: ❌

job_name test_name status info comment
AST fuzzer (amd_ubsan) failure
UndefinedBehaviorSanitizer: undefined behavior (STID: 2527-362b) FAIL cidb, issue ISSUE CREATED

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Mar 18, 2026
@divanik divanik changed the title Rewrite the code Rewrite the Iceberg code to reduce diff with private Mar 18, 2026

Iceberg::PersistentTableComponents IcebergMetadata::initializePersistentTableComponents(
StorageObjectStorageConfigurationPtr configuration, IcebergMetadataFilesCachePtr cache_ptr, ContextPtr context_)
ObjectStoragePtr object_storage,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this parameter object_storage can shadow the field object_storage in class IcebergMetadata ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now it is a static method

@alexbakharew alexbakharew self-assigned this Mar 18, 2026
@divanik
divanik added this pull request to the merge queue Mar 19, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Mar 19, 2026
@clickhouse-gh

clickhouse-gh Bot commented Mar 19, 2026

Copy link
Copy Markdown
Contributor

LLVM Coverage Report

Metric Baseline Current Δ
Lines 83.70% 83.80% +0.10%
Functions 23.90% 23.90% +0.00%
Branches 76.30% 76.30% +0.00%

PR changed lines: PR changed-lines coverage: 76.19% (16/21, 0 noise lines excluded)
Diff coverage report
Uncovered code

@divanik
divanik added this pull request to the merge queue Mar 19, 2026
Merged via the queue into master with commit cc704c7 Mar 19, 2026
158 of 159 checks passed
@divanik
divanik deleted the divanik/rewrite_the_code_to_redude_diff branch March 19, 2026 15:36
@robot-ch-test-poll1 robot-ch-test-poll1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog 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.

3 participants