Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc](sql) bitmap-1 func #1852

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

catpineapple
Copy link
Contributor

@catpineapple catpineapple commented Jan 17, 2025

Versions

  • dev
  • 3.0
  • 2.1
  • 2.0

Languages

  • Chinese
  • English

Docs Checklist

  • Checked by AI
  • Test Cases Built

@catpineapple
Copy link
Contributor Author

Edit the dev version of the document first, and push it to the remaining versions after the review is correct.

Copy link
Contributor

@morrySnow morrySnow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

共性的问题是例子中的prompt没有去除干净,需要把所有文档上的prompt清理一波


## Examples

```sql
MySQL> select bitmap_and_count(bitmap_from_string('1,2,3'),bitmap_from_string('3,4,5'));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

需要去掉 prompt

Suggested change
MySQL> select bitmap_and_count(bitmap_from_string('1,2,3'),bitmap_from_string('3,4,5'));
select bitmap_and_count(bitmap_from_string('1,2,3'),bitmap_from_string('3,4,5'));

Comment on lines +40 to +41
| `<str>` | Array string, for example "0, 1, 2" string will be converted to a Bitmap with bits 0, 1, 2 set |
## Return Value
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

中间加个空行,防止渲染错误

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants