Github user xueyumusic commented on a diff in the pull request:
https://github.com/apache/flink/pull/6337#discussion_r202581145
--- 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 --
thanks for review, @yanghua , fixed---
