gustavodemorais commented on code in PR #26091:
URL: https://github.com/apache/flink/pull/26091#discussion_r1935623598
##########
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:
Done. Thanks for taking a look @snuyanzin
--
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]