morrySnow commented on code in PR #1887:
URL: https://github.com/apache/doris-website/pull/1887#discussion_r1923224214


##########
docs/sql-manual/sql-functions/scalar-functions/ip-functions/ipv4-to-ipv6.md:
##########
@@ -22,30 +22,30 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-## IPV4_TO_IPV6
+## Description
+Convert ipv4 type address to ipv6 type address.
 
-IPV4_TO_IPV6
-
-### Description
-
-#### Syntax
-
-`IPV6 IPV4_TO_IPV6(IPV4 ipv4)`
+## Syntax
+```sql
+IPV4_TO_IPV6(IPV4 <ipv4>)
+```
 
-accept an IPv4 type address and return the converted IPv6 type address.
+## Parameters
+| Parameter | Description                                      |
+|-----------|--------------------------------------------------|
+| `<ipv4>`      | An IPv4 type address  |
 
-### Example
+## Return Value
+Returns the converted IPv6 type address.
 
+## Example
 ```sql
-mysql [(none)]>select ipv6_num_to_string(ipv4_to_ipv6(to_ipv4('192.168.0.1')));
+select ipv6_num_to_string(ipv4_to_ipv6(to_ipv4('192.168.0.1')));
+```
+```text
 +----------------------+
 | '::ffff:192.168.0.1' |

Review Comment:
   这个结果的header需要刷一下,现在版本应该不是这么显示的了



##########
docs/sql-manual/sql-functions/scalar-functions/ip-functions/ipv4-num-to-string.md:
##########
@@ -22,36 +22,44 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-## IPV4_NUM_TO_STRING
+## Description
+Takes a Int16、Int32、Int64 number. Interprets it as an IPv4 address in big 
endian. Returns a string containing the corresponding IPv4 address in the 
format A.B.C.D (dot-separated numbers in decimal form)
 
-IPV4_NUM_TO_STRING
+## Alias
+INET_NTOA

Review Comment:
   使用无序列表
   ```suggestion
   - INET_NTOA
   ```



##########
docs/sql-manual/sql-functions/scalar-functions/ip-functions/cut-ipv6.md:
##########
@@ -22,30 +22,36 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-## CUT_IPV6
+## Description
 
-CUT_IPV6
+Accept an IPv6 type address and return a string containing the address of the 
specified number of bytes removed in text format.
 
-### Description
 
-#### Syntax
+## Syntax
+```sql
+CUT_IPV6(ipv6 <ipv6>, TinyInt <cut_ipv6_bytes>, TinyInt <cut_ipv4_bytes>)

Review Comment:
   1. 不需要参数类型
   ```suggestion
   CUT_IPV6(<ipv6>, <cut_ipv6_bytes>, <cut_ipv4_bytes>)
   ```



-- 
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

Reply via email to