zhangbutao commented on code in PR #90:
URL: https://github.com/apache/hive-site/pull/90#discussion_r2752411461


##########
content/docs/latest/language/languagemanual-udf.md:
##########
@@ -289,36 +281,26 @@ The following built-in String functions are supported in 
Hive:
 | string | lower(string A) lcase(string A) | Returns the string resulting from 
converting all characters of B to lower case. For example, lower('fOoBaR') 
results in 'foobar'. |
 | string | lpad(string str, int len, string pad) | Returns str, left-padded 
with pad to a length of len. If str is longer than len, the return value is 
shortened to len characters. In case of empty pad string, the return value is 
null. |
 | string | ltrim(string A) | Returns the string resulting from trimming spaces 
from the beginning(left hand side) of A. For example, ltrim(' foobar ') results 
in 'foobar '. |
-| array<struct<string,double>> | ngrams(array<array<string>>, int N, int K, 
int pf) | Returns the top-k N-grams from a set of tokenized sentences, such as 
those returned by the sentences() UDAF. See [StatisticsAndDataMining]({{< ref 
"statisticsanddatamining" >}}) for more information. |
+| array<struct<string,double>> | ngrams(array<array&lt;string>>, int N, int K, 
int pf) | Returns the top-k N-grams from a set of tokenized sentences, such as 
those returned by the sentences() UDAF. See [StatisticsAndDataMining]({{< ref 
"statisticsanddatamining" >}}) for more information. |
 | int | octet_length(string str) | Returns the number of octets required to 
hold the string str in UTF-8 encoding (since Hive 
[2.2.0](https://issues.apache.org/jira/browse/HIVE-15979)). Note that 
octet_length(str) can be larger than character_length(str). |
 | string | parse_url(string urlString, string partToExtract [, string 
keyToExtract]) | Returns the specified part from the URL. Valid values for 
partToExtract include HOST, PATH, QUERY, REF, PROTOCOL, AUTHORITY, FILE, and 
USERINFO. For example, 
parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'HOST') returns 
'facebook.com'. Also a value of a particular key in QUERY can be extracted by 
providing the key as the third argument, for example, 
parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'QUERY', 'k1') 
returns 'v1'. |
 | string | printf(String format, Obj... args) | Returns the input formatted 
according do printf-style format strings (as of Hive 
[0.9.0](https://issues.apache.org/jira/browse/HIVE-2695)). |
-| string | quote(String text) | Returns the quoted string (Includes escape 
character for any single quotes 
[HIVE-4.0.0](https://issues.apache.org/jira/browse/HIVE-21134))
-
-| Input | Output |
-| --- | --- |
-| NULL | NULL |
-| DONT | 'DONT' |
-| DON'T | 'DON\'T' |
-
-
-| **Return Type** | **Name(Signature)** | **Description** |
-| --- | --- | --- |
+| string | quote(String text) | Returns the quoted string (Includes escape 
character for any single quotes 
[HIVE-4.0.0](https://issues.apache.org/jira/browse/HIVE-21134)) 
<table><tr><th>Input</th><th>Output</th></tr><tr><td>NULL</td><td>NULL</td></tr><tr><td>DONT</td><td>'DONT'</td></tr><tr><td>DON'T</td><td>'DON\'T</td></tr></table>

Review Comment:
   Can we display content like wiki doc:
   
   <img width="1182" height="360" alt="Image" 
src="https://github.com/user-attachments/assets/69d9f3ab-12b9-467d-a0ee-e497aeeb6c31";
 />
   



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to