This is an automated email from the ASF dual-hosted git repository.

kassiez pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 4cce05bba13 update bitmap_to_base64 doc (#1319)
4cce05bba13 is described below

commit 4cce05bba137d4162e206662a76c16e163ff6a9e
Author: Pxl <pxl...@qq.com>
AuthorDate: Fri Nov 15 20:19:33 2024 +0800

    update bitmap_to_base64 doc (#1319)
    
    # Versions
    
    - [x] dev
    - [x] 3.0
    - [ ] 2.1
    - [ ] 2.0
    
    # Languages
    
    - [x] Chinese
    - [x] English
---
 docs/sql-manual/sql-functions/bitmap-functions/bitmap-to-base64.md       | 1 +
 .../sql-manual/sql-functions/bitmap-functions/bitmap-to-base64.md        | 1 +
 .../sql-manual/sql-functions/bitmap-functions/bitmap-to-base64.md        | 1 +
 .../sql-manual/sql-functions/bitmap-functions/bitmap-to-base64.md        | 1 +
 4 files changed, 4 insertions(+)

diff --git a/docs/sql-manual/sql-functions/bitmap-functions/bitmap-to-base64.md 
b/docs/sql-manual/sql-functions/bitmap-functions/bitmap-to-base64.md
index 9d4dd298fa0..83cbe91154d 100644
--- a/docs/sql-manual/sql-functions/bitmap-functions/bitmap-to-base64.md
+++ b/docs/sql-manual/sql-functions/bitmap-functions/bitmap-to-base64.md
@@ -30,6 +30,7 @@ under the License.
 `VARCHAR BITMAP_TO_BASE64(BITMAP input)`
 
 Convert an input BITMAP to a base64 string. If input is null, return null. 
Since BE config item `enable_set_in_bitmap_value` will change the format of 
bitmap value in memory, it also affect the result of this function.
+Since the order of elements in the bitmap cannot be guaranteed, there is no 
guarantee that the base64 results generated by bitmaps with the same content 
are always the same, but the bitmap after bitmap_from_base64 decoding can be 
guaranteed to be the same.
 
 ### example
 
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/bitmap-functions/bitmap-to-base64.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/bitmap-functions/bitmap-to-base64.md
index 62d3397bcdc..1cc8710914b 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/bitmap-functions/bitmap-to-base64.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/bitmap-functions/bitmap-to-base64.md
@@ -30,6 +30,7 @@ under the License.
 `VARCHAR BITMAP_TO_BASE64(BITMAP input)`
 
 
将一个bitmap转化成一个base64字符串。输入是null的话返回null。BE配置项`enable_set_in_bitmap_value`会改变bitmap值在内存中的具体格式,因此会影响此函数的结果。
+由于不能保证 bitmap 中元素的顺序,因此不能保证相同内容的 bitmap 生成的 base64 结果始终相同,但可以保证 
bitmap_from_base64 解码后的 bitmap 相同。
 
 ### example
 
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/bitmap-functions/bitmap-to-base64.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/bitmap-functions/bitmap-to-base64.md
index 62d3397bcdc..1cc8710914b 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/bitmap-functions/bitmap-to-base64.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/bitmap-functions/bitmap-to-base64.md
@@ -30,6 +30,7 @@ under the License.
 `VARCHAR BITMAP_TO_BASE64(BITMAP input)`
 
 
将一个bitmap转化成一个base64字符串。输入是null的话返回null。BE配置项`enable_set_in_bitmap_value`会改变bitmap值在内存中的具体格式,因此会影响此函数的结果。
+由于不能保证 bitmap 中元素的顺序,因此不能保证相同内容的 bitmap 生成的 base64 结果始终相同,但可以保证 
bitmap_from_base64 解码后的 bitmap 相同。
 
 ### example
 
diff --git 
a/versioned_docs/version-3.0/sql-manual/sql-functions/bitmap-functions/bitmap-to-base64.md
 
b/versioned_docs/version-3.0/sql-manual/sql-functions/bitmap-functions/bitmap-to-base64.md
index 9d4dd298fa0..83cbe91154d 100644
--- 
a/versioned_docs/version-3.0/sql-manual/sql-functions/bitmap-functions/bitmap-to-base64.md
+++ 
b/versioned_docs/version-3.0/sql-manual/sql-functions/bitmap-functions/bitmap-to-base64.md
@@ -30,6 +30,7 @@ under the License.
 `VARCHAR BITMAP_TO_BASE64(BITMAP input)`
 
 Convert an input BITMAP to a base64 string. If input is null, return null. 
Since BE config item `enable_set_in_bitmap_value` will change the format of 
bitmap value in memory, it also affect the result of this function.
+Since the order of elements in the bitmap cannot be guaranteed, there is no 
guarantee that the base64 results generated by bitmaps with the same content 
are always the same, but the bitmap after bitmap_from_base64 decoding can be 
guaranteed to be the same.
 
 ### example
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to