Airblader commented on a change in pull request #16776:
URL: https://github.com/apache/flink/pull/16776#discussion_r687589414



##########
File path: 
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/codegen/calls/FunctionGenerator.scala
##########
@@ -854,7 +854,7 @@ class FunctionGenerator private(config: TableConfig) {
     operandTypes: Seq[LogicalType],
     resultType: LogicalType)
   : Option[CallGenerator] = sqlOperator match {
-    // built-in scalar function
+    case JSON_VALUE => Some(new JsonValueCallGen())

Review comment:
       This seems to be the easiest answer to the problem of not multiplying 
out a lot of argument type combinations when you don't care about the specific 
argument types.




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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to