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

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

commit 7f219c8a02d5c8c07415c25f61378817d50f01a7
Author: BiteTheDDDDt <pxl...@qq.com>
AuthorDate: Fri Nov 8 16:14:27 2024 +0800

    update bitmap_to_base64 doc
---
 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 9d4dd298fa..83cbe91154 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 62d3397bcd..1cc8710914 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 62d3397bcd..1cc8710914 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 9d4dd298fa..83cbe91154 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