Skip to content

[fix] correct small errors in array, bitmap, and bitwise function docs#3707

Merged
morningman merged 1 commit into
apache:masterfrom
boluor:fix-batch15-16-simple
May 20, 2026
Merged

[fix] correct small errors in array, bitmap, and bitwise function docs#3707
morningman merged 1 commit into
apache:masterfrom
boluor:fix-batch15-16-simple

Conversation

@boluor
Copy link
Copy Markdown
Contributor

@boluor boluor commented May 20, 2026

Summary

Fixes 9 small documentation issues across array, bitmap, and bitwise function references. Each item below is independent.

  • array-sortby.md — example ARRAY_SORTBY(x -> x*2 <= 2, [1,2,3]) with keys [true,false,false] showed result [1,2,3]. Sorting with these keys (false sorts before true; stable order) yields [2,3,1].
  • array-filter.md — the closing border of the first result table was 42 dashes while the cells above were 50. Widened to match.
  • array-shuffle.md — removed an orphan empty - bullet sitting between the notes list and the ## Examples heading.
  • array-first.md — two error-example captions were swapped (each described the other's error). Restored the correct mapping.
  • arrays-overlap.md — replaced a stray placeholder in the description and ## Function paragraph with determine (the intended verb).
  • array.md — frontmatter "language": "en-US""en"; the parameter line used a full-width Chinese instead of an ASCII : .
  • bitmap-hash.md — the example select bitmap_to_string(bitmap_hash(NULL)); had no column alias, but the result-table header showed res. Added AS res to the query.
  • bitshiftright.md — frontmatter "language": "zh-CN" in an English doc → "en".
  • xor.md (bitwise-functions) — same "zh-CN""en" frontmatter fix.

Test plan

  • CI doc build passes
  • Spot-check the affected pages render correctly (array-sortby result, array-filter table border, array-shuffle notes list, array-first error sections, arrays-overlap description, array.md parameter line, bitmap-hash query/result, language metadata for bitshiftright and xor)

- array-sortby.md: the example `ARRAY_SORTBY(x -> x*2 <= 2, [1,2,3])` with keys `[true,false,false]` showed result `[1,2,3]`; actual sort yields `[2,3,1]` (false=0 sorts before true=1, stable order).
- array-filter.md: the closing border of the first result table was 42 dashes while the cells above were 50; widened to match.
- array-shuffle.md: removed an orphan empty `- ` bullet sitting between the notes list and the next section.
- array-first.md: two error-example captions were swapped (each described the other's error). Swapped back.
- arrays-overlap.md: replaced the `◊` placeholder in the description and the `## Function` paragraph with `determine`.
- array.md: frontmatter `language: "en-US"` → `"en"`; parameter line used a full-width `:` instead of an ASCII `: `.
- bitmap-hash.md: the example `select bitmap_to_string(bitmap_hash(NULL));` had no alias, but the result-table header showed `res`. Added `AS res` to the query.
- bitshiftright.md: frontmatter `language: "zh-CN"` in an English doc → `"en"`.
- xor.md (bitwise-functions): same `"zh-CN"` → `"en"` frontmatter fix.
@morningman morningman merged commit 6222ac8 into apache:master May 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants