Skip to content

Fix gtest_aws_msk_iam_auth compilation when ENABLE_KAFKA=0 and ENABLE_AWS_S3=1 - #125593

Merged
Algunenano merged 1 commit into
ClickHouse:masterfrom
ringerc:fix-test-build-with-kafka-disabled
Oct 13, 2026
Merged

Algunenano merged 1 commit into
ClickHouse:masterfrom
ringerc:fix-test-build-with-kafka-disabled

Conversation

@ringerc

@ringerc ringerc commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

The test includes cppkafka headers but it only checked for USE_AWS_S3, so unit_tests_dbms failed to compile with ENABLE_KAFKA=0 and ENABLE_AWS_S3=1.

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

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

...


Workflow [PR]
Sync PR [sync-upstream/pr/125593]

Version info

  • Merged into: 26.10.1.2310-master (included in 26.10 and later)

The test includes `cppkafka` headers but it only checked for `USE_AWS_S3`,
so `unit_tests_dbms` failed to compile with `ENABLE_KAFKA=0` and
`ENABLE_AWS_S3=1`.

Signed-off-by: Craig Ringer <[email protected]>
@ringerc

ringerc commented Oct 13, 2026

Copy link
Copy Markdown
Contributor Author

@groenai Do an initial validation pass on this PR

@clickhouse-gh clickhouse-gh Bot added the comp-message-queues Message queue integrations (Kafka, RabbitMQ, NATS table engines for stream ingestion/egress). label Oct 13, 2026
@Algunenano Algunenano self-assigned this Oct 13, 2026
@Algunenano Algunenano added the can be tested Allows running workflows for external contributors label Oct 13, 2026
@clickhouse-gh

clickhouse-gh Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [d661aeb]

Summary: ✅


AI Review

Summary

This PR narrows gtest_aws_msk_iam_auth.cpp to the same feature surface as the code it exercises by requiring both USE_AWS_S3 and USE_RDKAFKA. That matches the build system, where Storages/Kafka sources are only added when ch_contrib::rdkafka is present, and fixes the unit_tests_dbms compile break on ENABLE_KAFKA=0 with ENABLE_AWS_S3=1 without changing runtime behavior. I did not find any correctness, coverage, or metadata issues, and the current Praktika report for PR 125593 is all green.

Final Verdict
  • Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Oct 13, 2026
@Algunenano
Algunenano added this pull request to the merge queue Oct 13, 2026
Merged via the queue into ClickHouse:master with commit 9ae033a Oct 13, 2026
177 checks passed
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Oct 13, 2026
@ringerc

ringerc commented Oct 13, 2026

Copy link
Copy Markdown
Contributor Author

Thanks @Algunenano for taking the time.

@clickhouse-gh clickhouse-gh Bot added the external Author is not a member of the ClickHouse organization label Oct 14, 2026
alexey-milovidov added a commit that referenced this pull request Oct 16, 2026
- Resolve the `TODO: wait for the revert-of-revert.` on #123808: #124640
  reverted only its `WindowTransform` part and no re-apply is planned, so
  the window functions are dropped from the entry instead.
- Sort every category by significance, clustering related entries.
- Move 21 entries between categories (efficiency entries to
  `Performance Improvement`, user-visible failures to `Bug Fix`, usability
  changes out of `Bug Fix`, new SQL surface to `New Feature`).
- Merge 28 groups of entries describing the same feature or fix, including
  regressions of this release folded into the feature they broke.
- Rewrite entries that described internal classes instead of the
  user-visible effect, and fix backticks and formatting.
- Drop two pure CI/test-build entries from `Build/Testing/Packaging
  Improvement` (#123180, #125593).

Related: #120500

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@clickhouse-gh clickhouse-gh Bot added comp-kafka Kafka table engine: consumers and producers on librdkafka, the Kafka2 engine that keeps offsets i... and removed comp-message-queues Message queue integrations (Kafka, RabbitMQ, NATS table engines for stream ingestion/egress). labels Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors comp-kafka Kafka table engine: consumers and producers on librdkafka, the Kafka2 engine that keeps offsets i... external Author is not a member of the ClickHouse organization 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