lihaosky commented on code in PR #26474: URL: https://github.com/apache/flink/pull/26474#discussion_r2058791859
########## flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/functions/JsonFunctionsITCase.java: ########## @@ -782,7 +782,47 @@ private static List<TestSetSpec> jsonSpec() { .testTableApiRuntimeError( jsonObject(JsonOnNull.NULL, "K", json("{")), TableRuntimeException.class, - "Invalid JSON string in JSON(value) function"), + "Invalid JSON string in JSON(value) function") + + // Tests for JSON_OBJECT with multiple parameters + .testResult( + jsonObject(JsonOnNull.NULL, "key1", "val", "key2", json($("f1"))), Review Comment: Can you test put `json($("f1"))` as key? -- 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