fix(docs): correct h3Distance example output value#106175
Conversation
|
Workflow [PR], commit [8d617d7] Summary: ✅
AI ReviewSummaryThis PR corrects embedded Final VerdictStatus: ✅ Approve |
…e output value The example for `multiSearchFirstPositionCaseInsensitiveUTF8` showed `3`, but the leftmost matching offset is `1`: the needle `'Здра'` matches the haystack `'Здравствуй, мир'` at position 1. Verified against the server. The previous commit fixed only the header case (`мир` -> `МИР`) but left the wrong value. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Picked this up, merged
The last one: the previous commit fixed only the result header case ( Also filled in the PR body's changelog category ( |
…k width Changing the example header from `readWKTLineString` to `readWKTMultiLineString` widened the top border, but the value row and bottom border still used the old, narrower width, leaving the Pretty block inconsistent. Pad the value row and extend the bottom border so all three lines match the new header width. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
@groeneai, the only CI failure is |
|
@alexey-milovidov investigated. Short version: What the failure looks like on this PR3/3 reruns passed. The test data itself is trivial — three Shard-wide picture (CIDB, last 14d on
|
LLVM Coverage Report
Changed lines: Changed C/C++ lines covered by tests: 27/27 (100.00%) | Lost baseline coverage: none · Uncovered code |
|
@groeneai, investigate the failure: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=106175&sha=8d617d769b286ed421c0f5cb29b803bbf8c0ef94&name_0=PR&name_1=Integration%20tests%20%28amd_msan%2C%204%2F6%29 and provide a fix in a separate PR. If the fix is already in progress, link it here. The failure is |
|
@alexey-milovidov Thanks for the rerun. Confirmed this is unrelated to the docs PR. CIDB over 30 days: the timeout is specific to the postgres variant and to MSan. 14 timeouts on Preliminary root cause (confirming with a local repro before I open the fix):
Fix direction (separate PR, per your request): make the cleanup robust against a late-starting query by killing in a loop until no |
8029bad

Several embedded function-documentation examples (shown in
SHOW CREATE FUNCTION/ docs and used by the docs generation) had incorrect outputs. This corrects them to match the actual server behavior:h3Distance: the example distance between cells590080540275638271and590103561300344831is6, not7.multiSearchFirstPositionUTF8: the leftmost matching offset is4(needle'авст'), not3.multiSearchFirstPositionCaseInsensitiveUTF8: fixed the result header case to match the query and corrected the value to1(needle'Здра'matches at position 1), it previously showed3.readWkt: theMultiLineStringexample usedreadWKTLineStringinstead ofreadWKTMultiLineString.All values were verified against the server.
Changelog category (leave one):
Version info
26.6.1.752