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/23 12:59:11 UTC

[GitHub] [flink] libenchao commented on a change in pull request #11188: [FLINK-16202][sql] Support JSON_QUERY for blink planner

libenchao commented on a change in pull request #11188: [FLINK-16202][sql] Support JSON_QUERY for blink planner
URL: https://github.com/apache/flink/pull/11188#discussion_r383002042
 
 

 ##########
 File path: flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/codegen/calls/FunctionGenerator.scala
 ##########
 @@ -753,6 +753,15 @@ object FunctionGenerator {
     Seq(FLOAT, INTEGER),
     BuiltInMethods.TRUNCATE_FLOAT)
 
+  addSqlFunctionMethod(
+    JSON_QUERY,
+    Seq(VARCHAR, CHAR, RAW, RAW, RAW),
 
 Review comment:
   Just curious, `SqlStdOperatorTable.JSON_VALUE` has 7 parameters, why here only 5?

----------------------------------------------------------------
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