You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/02/12 03:33:39 UTC

[GitHub] [flink] wangxlong commented on a change in pull request #11060: [FLINK-15994][Table-planner-blink]Support byte array argument for FROM_BASE64 function

wangxlong commented on a change in pull request #11060: [FLINK-15994][Table-planner-blink]Support byte array argument for FROM_BASE64 function
URL: https://github.com/apache/flink/pull/11060#discussion_r378024636
 
 

 ##########
 File path: flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/expressions/ScalarFunctionsTest.scala
 ##########
 @@ -906,6 +906,10 @@ class ScalarFunctionsTest extends ScalarTypesTestBase {
       "FROM_BASE64('5L2g5aW9')",
       "你好"
     )
+
+    testSqlApi(
+      "FROM_BASE64(CAST(x'6147567362473867643239796247513D' AS VARBINARY))",
+      "hello world")
 
 Review comment:
   Good Idea,  updated.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services