Skip to content

Remove a duplicate include from the text index condition - #118661

Merged
alexey-milovidov merged 1 commit into
ClickHouse:masterfrom
raimannma:fix-duplicate-include-text-index-condition
Sep 8, 2026
Merged

alexey-milovidov merged 1 commit into
ClickHouse:masterfrom
raimannma:fix-duplicate-include-text-index-condition

Conversation

@raimannma

@raimannma raimannma commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Related: #117314

MergeTreeIndexConditionText.cpp includes DataTypeLowCardinality.h twice since #117314. clang-tidy reports it as readability-duplicate-include, which fails the Build (arm_tidy) job on master and on every pull request that merges the current master, for example https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=118336&sha=529d408ec7857c13d50a02630c0afa98c71f6444&name_0=PR&name_1=Build%20(arm_tidy). This removes the second include.

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):

...


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

Version info

  • Merged into: 26.9.1.942 (included in 26.9 and later)

`DataTypeLowCardinality.h` was included twice, which clang-tidy reports as
`readability-duplicate-include` and fails the `Build (arm_tidy)` job on master.

Caused by: ClickHouse#117314

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JyZgVjwycGoE67Jf1wvve6
@alexey-milovidov alexey-milovidov added the can be tested Allows running workflows for external contributors label Sep 7, 2026
@alexey-milovidov alexey-milovidov self-assigned this Sep 7, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [1002f37]

Summary: ❌

job_name test_name status info comment
Build profile diff ERROR

AI Review

Summary

This PR removes a redundant #include <DataTypes/DataTypeLowCardinality.h> from src/Storages/MergeTree/MergeTreeIndexConditionText.cpp to clear the readability-duplicate-include failure in Build (arm_tidy). The change is behavior-neutral, matches the stated motivation, and I did not find correctness, compatibility, or metadata issues in the current diff.

Final Verdict

✅ No findings. The patch is narrowly scoped and looks correct as-is.

LLVM Coverage Report

Measured on commit 1002f37.

Metric Baseline Current Δ
Lines 88.80% 88.80% +0.00%
Functions 91.80% 91.80% +0.00%
Branches 81.10% 81.20% +0.10%

Changed lines: Changed C/C++ lines covered: 0/0 (nothing coverable) · Uncovered code

Full report · Diff report

@clickhouse-gh clickhouse-gh Bot added the pr-ci label Sep 7, 2026
nikitamikhaylov added a commit that referenced this pull request Sep 7, 2026
The merge of `master` introduced a duplicate include in
`MergeTreeIndexConditionText.cpp`, which fails `readability-duplicate-include`.
Apply the one-line fix already proposed in the related PR so this branch can
run its remaining CI jobs.

Related: #118661
Related: #118124
CI: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=118124&sha=bafedbbcc64a7a2e201917484f6abc5961633a02&name_0=PR&name_1=Build%20%28arm_tidy%29
@clickhouse-gh clickhouse-gh Bot added the comp-text-index Full-text search: inverted/text index in MergeTree (tokenizers, posting lists, GIN-style index bu... label Sep 7, 2026
@alexey-milovidov alexey-milovidov added the blocker This issue / pr blocks a new release label Sep 8, 2026
@alexey-milovidov
alexey-milovidov added this pull request to the merge queue Sep 8, 2026
Merged via the queue into ClickHouse:master with commit 55c2563 Sep 8, 2026
174 of 175 checks passed
@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-synced-to-cloud The PR is synced to the cloud repo label Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocker This issue / pr blocks a new release can be tested Allows running workflows for external contributors comp-text-index Full-text search: inverted/text index in MergeTree (tokenizers, posting lists, GIN-style index bu... 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.

3 participants