luzhijing commented on code in PR #813: URL: https://github.com/apache/doris-website/pull/813#discussion_r1663403781
########## docs/sql-manual/sql-functions/table-functions/explode-json-object.md: ########## @@ -0,0 +1,159 @@ +--- +{ + "title": "EXPLODE_JSON_OBJECT", + "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. +--> + +## EXPLODE_JSON_OBJECT + +### Description + +Expand a json object. `explode_json_object_outer` will return NULL, while given json is NULL or is not a json object. Review Comment: json -> JSON ########## docs/sql-manual/sql-functions/table-functions/explode-json-object.md: ########## @@ -0,0 +1,159 @@ +--- +{ + "title": "EXPLODE_JSON_OBJECT", + "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. +--> + +## EXPLODE_JSON_OBJECT + +### Description + +Expand a json object. `explode_json_object_outer` will return NULL, while given json is NULL or is not a json object. + +> Note. Review Comment: :::tip Note xxxx ::: ########## sidebars.json: ########## @@ -1067,7 +1067,8 @@ "sql-manual/sql-functions/table-functions/jobs", "sql-manual/sql-functions/table-functions/mv_infos", "sql-manual/sql-functions/table-functions/tasks", - "sql-manual/sql-functions/table-functions/query" + "sql-manual/sql-functions/table-functions/query", + "sql-manual/sql-functions/table-functions/explode_json_object" Review Comment: explode-json-object ########## i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/table-functions/explode-json-object.md: ########## @@ -0,0 +1,159 @@ +--- +{ + "title": "EXPLODE_JSON_OBJECT", + "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. +--> + +## EXPLODE_JSON_OBJECT + +### Description + +展开一个 json 对象。当给定的 json 为 NULL 或不是 json 对象时,`explode_json_object_outer` 将返回 NULL。 + +> 注意: +> +> 表函数必须与later view 结合使用 Review Comment: LATERAL VIEW ########## i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/table-functions/explode-json-object.md: ########## @@ -0,0 +1,159 @@ +--- +{ + "title": "EXPLODE_JSON_OBJECT", + "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. +--> + +## EXPLODE_JSON_OBJECT + +### Description + +展开一个 json 对象。当给定的 json 为 NULL 或不是 json 对象时,`explode_json_object_outer` 将返回 NULL。 Review Comment: JSON -- 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: dev-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org For additional commands, e-mail: dev-h...@doris.apache.org