Skip to content

Add test: positions argument validation in textIndexValidator (experimental guard + range check) untested - #109697

Merged
rschu1ze merged 1 commit into
ClickHouse:masterfrom
clickgapai:qa-bot/coverage-pr103172
Jul 8, 2026
Merged

rschu1ze merged 1 commit into
ClickHouse:masterfrom
clickgapai:qa-bot/coverage-pr103172

Conversation

@clickgapai

@clickgapai clickgapai commented Jul 7, 2026 •

Copy link
Copy Markdown
Contributor

[the extremely verbose PR message bla bla bla generated by AI was replaced by this short and sweet banner]

Follow-up to #103172

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Version info

  • Merged into: 26.7.1.660 (included in 26.7 and later)

@rschu1ze
rschu1ze force-pushed the qa-bot/coverage-pr103172 branch from 25ee1c6 to e151a93 Compare July 7, 2026 19:28
@rschu1ze rschu1ze self-assigned this Jul 7, 2026
@ClickHouse ClickHouse deleted a comment from clickgapai Jul 7, 2026
@clickhouse-gh

clickhouse-gh Bot commented Jul 7, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [e151a93]

Summary: ❌

job_name test_name status info comment
Stateless tests (amd_debug, parallel) FAIL
04061_spilling_hash_join_overflow_limits FAIL cidb, issue ISSUE EXISTS

AI Review

Summary

This PR extends 02346_text_index_creation with coverage for the positions argument in text index definitions: it checks the experimental guard, a successful create when allow_experimental_text_index_positions = 1, and rejection of invalid values, while also updating the stale tokenizer list to include asciiCJK. I did not find a correctness or coverage gap in the added test cases.

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 Jul 7, 2026
@clickgapai

Copy link
Copy Markdown
Contributor Author

CI failure in Config Workflow — this is an external check unrelated to our change.

@rschu1ze rschu1ze added the can be tested Allows running workflows for external contributors label Jul 7, 2026
@clickhouse-gh

clickhouse-gh Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

LLVM Coverage Report

Metric Baseline Current Δ
Lines 86.11% 86.12% +0.02%
Functions 91.48% 91.48% +0.00%
Branches 78.59% 78.64% +0.04%

Changed lines: No C/C++ source files changed — skipping uncovered code analysis.

Newly covered by added/modified tests: 130 line(s), 5 function(s) across 48 file(s) · Details

Top files
  • src/Storages/StorageReplicatedMergeTree.cpp: 17 line(s)
  • src/AggregateFunctions/AggregateFunctionQuantileGK.cpp: 14 line(s)
  • src/Functions/array/arrayDistance.cpp: 7 line(s)
  • src/Functions/FunctionsNumericIndexedVector.h: 5 line(s)
  • src/Interpreters/InstrumentationManager.cpp: 5 line(s)

Full report

@rschu1ze
rschu1ze added this pull request to the merge queue Jul 8, 2026
Merged via the queue into ClickHouse:master with commit 97d003b Jul 8, 2026
342 of 345 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 Jul 8, 2026
zeekay pushed a commit to hanzoai/datastore that referenced this pull request Sep 11, 2026
…pr103172

Add test: `positions` argument validation in `textIndexValidator` (experimental guard + range check) untested
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 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