[fix] correct small errors in array, bitmap, and bitwise function docs#3707
Merged
Conversation
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes 9 small documentation issues across array, bitmap, and bitwise function references. Each item below is independent.
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].-bullet sitting between the notes list and the## Examplesheading.◊placeholder in the description and## Functionparagraph withdetermine(the intended verb)."language": "en-US"→"en"; the parameter line used a full-width Chinese:instead of an ASCII:.select bitmap_to_string(bitmap_hash(NULL));had no column alias, but the result-table header showedres. AddedAS resto the query."language": "zh-CN"in an English doc →"en"."zh-CN"→"en"frontmatter fix.Test plan