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 2021/10/01 09:34:07 UTC

[GitHub] [flink] Airblader commented on a change in pull request #17313: [FLINK-16204][table] Support JSON_ARRAY()

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



##########
File path: flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/codegen/JsonGenerateUtils.scala
##########
@@ -31,12 +31,27 @@ import org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.node.{Arr
 import org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.util.RawValue
 
 import org.apache.calcite.rex.{RexCall, RexNode}
+import org.apache.calcite.sql.SqlJsonConstructorNullClause
 
 import java.time.format.DateTimeFormatter
 
 /** Utility for generating JSON function calls. */
 object JsonGenerateUtils {
 
+  /** Returns a term which wraps the given <code>expression</code> into a [[JsonNode]]. If the

Review comment:
       These would be so much easier to spot if IntelliJ didn't happily render them correctly…




-- 
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-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org