Skip to content

Fix potential crash in delta-kernel implementation#79677

Merged
kssenii merged 1 commit intomasterfrom
fix-delta-kernel-crash
Apr 29, 2025
Merged

Fix potential crash in delta-kernel implementation#79677
kssenii merged 1 commit intomasterfrom
fix-delta-kernel-crash

Conversation

@kssenii
Copy link
Copy Markdown
Member

@kssenii kssenii commented Apr 29, 2025

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in an official stable release)

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

Fix crash in delta-kernel implementation when using unity catalog.

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

@kssenii kssenii added the pr-must-backport Pull request should be backported intentionally. Use this label with great care! label Apr 29, 2025
@clickhouse-gh
Copy link
Copy Markdown
Contributor

clickhouse-gh bot commented Apr 29, 2025

Workflow [PR], commit [7d487a1]

@clickhouse-gh clickhouse-gh bot added the pr-bugfix Pull request with bugfix, not backported by default label Apr 29, 2025
@kssenii kssenii mentioned this pull request Apr 29, 2025
1 task
@kssenii
Copy link
Copy Markdown
Member Author

kssenii commented Apr 29, 2025

Integration tests (asan, flaky check)

test_database_delta tests are not adjusted for repeatable run.

/// So we extract these values here and put into `partitions_info`.
DB::ObjectInfoWithPartitionColumns::PartitionColumnsInfo partitions_info;
for (const auto & partition_column : context->partition_columns)
if (partition_map)
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Here I only added if (partition_map) check, other diff is from the scope change. And another change is check for stat in log message below in line 286.

@thevar1able thevar1able self-assigned this Apr 29, 2025
@kssenii kssenii added this pull request to the merge queue Apr 29, 2025
Merged via the queue into master with commit ecace1c Apr 29, 2025
116 of 120 checks passed
@kssenii kssenii deleted the fix-delta-kernel-crash branch April 29, 2025 14:03
@robot-ch-test-poll2 robot-ch-test-poll2 added pr-synced-to-cloud The PR is synced to the cloud repo pr-backports-created-cloud deprecated label, NOOP labels Apr 29, 2025
@robot-ch-test-poll robot-ch-test-poll added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label May 30, 2025
@robot-clickhouse robot-clickhouse added the pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR label Jul 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-backports-created-cloud deprecated label, NOOP pr-bugfix Pull request with bugfix, not backported by default pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR 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.

5 participants