gustavodemorais commented on code in PR #26022: URL: https://github.com/apache/flink/pull/26022#discussion_r1930899164
########## flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/codegen/ExprCodeGenerator.scala: ########## @@ -476,6 +485,11 @@ class ExprCodeGenerator(ctx: CodeGeneratorContext, nullableInput: Boolean) call.getOperator.getReturnTypeInference == ReturnTypes.ARG0 => generateNullLiteral(resultType) + // We only support JSON function operands within JSON_OBJECT + case (operand: RexNode, _) + if isJsonObjectOrArrayOperand(call) && isJsonFunctionOperand(operand) => Review Comment: I was reusing a method here and updated it to check specifically for json object. The intent of the PR is to add support only for json object. If we want to extend it, we can do it in other tickets/pr. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org