Github user yanghua commented on a diff in the pull request: https://github.com/apache/flink/pull/6337#discussion_r202573057 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/table/runtime/functions/ScalarFunctions.scala --- @@ -182,4 +184,6 @@ object ScalarFunctions { new String(data) } + + def hex(x: String): String = Hex.encodeHexString(x.getBytes) --- End diff -- add the doc for the API looks better to me
---