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/22 16:33:43 UTC

[GitHub] [flink] Airblader commented on a change in pull request #17549: [FLINK-16205][table-planner] Support JSON_OBJECTAGG

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



##########
File path: flink-table/flink-table-runtime/src/main/java/org/apache/flink/table/runtime/functions/SqlJsonUtils.java
##########
@@ -58,7 +61,9 @@ public static ArrayNode createArrayNode() {
     /** Serializes the given {@link JsonNode} to a JSON string. */
     public static String serializeJson(JsonNode node) {
         try {
-            return MAPPER.writeValueAsString(node);
+            // This conversion step is needed to ensure property keys are sorted.

Review comment:
       ```suggestion
               // This conversion step is needed to ensure object keys are sorted.
   ```




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