snuyanzin commented on code in PR #28129:
URL: https://github.com/apache/flink/pull/28129#discussion_r3217979952
##########
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/codegen/calls/JsonQueryCallGen.scala:
##########
@@ -50,8 +51,21 @@ class JsonQueryCallGen extends CallGenerator {
} else {
JsonQueryReturnType.STRING
}
+ val inputTerm = s"${argTerms.head}.toString()"
+
+ val (parsedTerm, parseCode) = ctx.getReusableParsedJson(inputTerm)
match {
Review Comment:
added example
--
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]