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



##########
File path: 
flink-table/flink-table-runtime/src/main/java/org/apache/flink/table/runtime/functions/SqlJsonUtils.java
##########
@@ -58,7 +61,11 @@ public static ArrayNode createArrayNode() {
     /** Serializes the given {@link JsonNode} to a JSON string. */
     public static String serializeJson(JsonNode node) {
         try {
-            return MAPPER.writeValueAsString(node);
+            // For JSON functions to have deterministic output, we need to 
sort the keys. However,

Review comment:
       (See commit message for a reference)




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


Reply via email to