amorynan commented on code in PR #22911:
URL: https://github.com/apache/doris/pull/22911#discussion_r1292654814


##########
regression-test/suites/query_p0/sql_functions/json_functions/test_json_function.groovy:
##########
@@ -83,4 +83,14 @@ suite("test_json_function") {
     qt_sql "SELECT JSON_CONTAINS('{\"name\": \"John\", \"age\": 30, 
\"projects\": [{\"name\": \"Project A\", \"year\": 2020}, {\"name\": \"Project 
B\", \"year\": 2021}]}', '{\"projects\": [{\"name\": \"Project A\"}]}', '\$.');"
     qt_sql "SELECT JSON_CONTAINS('{\"name\": \"John\", \"age\": 30, 
\"address\": {\"city\": \"New York\", \"country\": \"USA\"}}', '{\"address\": 
{\"city\": \"New York\"}}', '\$.');"
 
+    qt_sql "SELECT JSON_MERGE_PRESERVE('[]','[]');"

Review Comment:
   make same test json in table



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to