snuyanzin commented on code in PR #26091:
URL: https://github.com/apache/flink/pull/26091#discussion_r1935576588


##########
docs/data/sql_functions.yml:
##########
@@ -241,9 +241,9 @@ arithmetic:
   - sql: UNHEX(expr)
     table: expr.unhex()
     description: |
-      Converts hexadecimal string expr to BINARY.
+      Converts hexadecimal string expr to BINARY. If the length of expr is 
odd, the first character is discarded and the result is left padded with a null 
byte. 
       
-      If the length of expr is odd, the first character is discarded and the 
result is left padded with a null byte. 
+      E.g., SELECT UNHEX('466C696E6B') or $('466C696E6B').unhex() returns 
466C696E6B as BINARY.

Review Comment:
   usually we should update both english and chinese docs
   can you also add examples there (could be in english for now however it is 
better to keep them sync)



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

Reply via email to