Skip to content

Remove a duplicate include in MergeTreeIndexConditionText - #118680

Closed
alexey-milovidov wants to merge 1 commit into
masterfrom
remove-duplicate-include-text-index-condition
Closed

alexey-milovidov wants to merge 1 commit into
masterfrom
remove-duplicate-include-text-index-condition

Conversation

@alexey-milovidov

@alexey-milovidov alexey-milovidov commented Sep 8, 2026 •

Copy link
Copy Markdown
Member

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

...

Description

DataTypes/DataTypeLowCardinality.h is included twice in MergeTreeIndexConditionText.cpp, so Build (arm_tidy) fails on every pull request:

/ClickHouse/src/Storages/MergeTree/MergeTreeIndexConditionText.cpp:36:1: error: duplicate include [readability-duplicate-include,-warnings-as-errors]

The second occurrence is removed.


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

`DataTypes/DataTypeLowCardinality.h` was included twice, which fails
`Build (arm_tidy)` on every pull request:

    error: duplicate include [readability-duplicate-include,-warnings-as-errors]

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [d67dc61]


AI Review

Summary

This PR removes a duplicate #include <DataTypes/DataTypeLowCardinality.h> from src/Storages/MergeTree/MergeTreeIndexConditionText.cpp to fix the Build (arm_tidy) duplicate-include failure. The file still includes the header once at the top, so the change is behavior-neutral; I found no correctness, compatibility, or testing concerns in the current diff.

Final Verdict

✅ Approve. No new inline findings.

@clickhouse-gh

clickhouse-gh Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing d67dc6153 with master 4d21de5fa (stripped binary size, per-symbol sizes and ThinLTO time; compile times per translation unit against the most recent warmup build that recompiled it).

✅ No significant changes.

Binary sizes

programs/clickhouse-stripped: smaller than the master baseline by the known offset between the two builds, so the difference is not shown. A delta that differs from the offset by more than 50% of it is shown, in either direction.

The official master build is compiled with -g and a pull request build is not, and XRay counts debug instructions towards its instrumentation threshold, so master instruments thousands of functions more and its binary is ~0.4% larger no matter what the pull request does.

Compile time of recompiled translation units

6 translation units recompiled, 4 s compile time in total, 6 of them have a recent master baseline.

Job report

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 comp-text-index Full-text search: inverted/text index in MergeTree (tokenizers, posting lists, GIN-style index bu... pr-ci

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant