walterddr commented on a change in pull request #6337: [FLINK-9853] [table] Add
HEX support
URL: https://github.com/apache/flink/pull/6337#discussion_r207661219
##########
File path: docs/dev/table/sql.md
##########
@@ -1664,6 +1664,17 @@ BIN(numeric)
</td>
</tr>
+ <tr>
+ <td>
+{% highlight text %}
+HEX(numeric)
+HEX(string)
+ {% endhighlight %}
+ </td>
+ <td>
+ <p>Returns a string representation of an integer numeric value or a
string in hex format. Returns null if numeric is null. E.g. "20" leads to "14",
"100" leads to "64", "hello,world" leads to "68656c6c6f2c776f726c64".</p>
Review comment:
maybe consider using backtick for the number literals? e.g. `"20"` --> ``
`20` ``.
Otherwise its confusing whether we should pass in stringify integer or just
integer values.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services