KassieZ commented on code in PR #1521: URL: https://github.com/apache/doris-website/pull/1521#discussion_r1893657174
########## docs/data-operate/import/data-type/array.md: ########## @@ -0,0 +1,149 @@ +--- +{ + "title": "ARRAY", + "language": "en" +} +--- + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +# Overview Review Comment: please start from `## level 2 title` ########## i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/data-type/array.md: ########## @@ -0,0 +1,149 @@ +--- +{ + "title": "ARRAY", + "language": "en" Review Comment: zh-CN ########## i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/data-type/json.md: ########## @@ -0,0 +1,154 @@ +--- +{ + "title": "JSON", + "language": "zh-CN" +} +--- + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +# 概述 + +`JSON` 数据类型,用二进制格式高效存储 JSON 数据,通过 JSON 函数访问其内部字段。 + +默认支持 1048576 字节(1 MB),可调大到 2147483643 字节(2 GB),可通过 BE 配置`string_type_length_soft_limit_bytes` 调整。 + +与普通 String 类型存储的 JSON 字符串相比,JSON 类型有两点优势 + +1. 数据写入时进行 JSON 格式校验 +2. 二进制存储格式更加高效,通过json_extract等函数可以高效访问JSON内部字段,比get_json_xx函数快几倍 + +:::caution[注意] Review Comment: :::caution 注意 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org