github-actions[bot] commented on code in PR #38820: URL: https://github.com/apache/doris/pull/38820#discussion_r1702779962
########## be/test/exprs/json_function_test.cpp: ########## @@ -126,5 +126,27 @@ TEST_F(JsonFunctionTest, json_path_test) { EXPECT_TRUE(wrap_explicitly); } } +TEST_F(JsonFunctionTest, extract_from_object_test) { + std::string json_raw_data("{\"a\":\"a1\", \"b\":\"b1\", \"c\":\"c1\"}"); Review Comment: warning: escaped string literal can be written as a raw string literal [modernize-raw-string-literal] ```suggestion std::string json_raw_data(R"({"a":"a1", "b":"b1", "c":"c1"})"); ``` -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org