PHILO-HE commented on issue #7777:
URL: 
https://github.com/apache/incubator-gluten/issues/7777#issuecomment-2453990536

   @wForget, it's strange. I just applied the below patch to test your case on 
Velox side ([1.2.0 velox 
branch](https://github.com/oap-project/velox/commits/gluten-1.2.0)), the test 
passed.
   
   ```
   diff --git a/velox/functions/sparksql/tests/JsonFunctionsTest.cpp 
b/velox/functions/sparksql/tests/JsonFunctionsTest.cpp
   index c0c8ecc90..f9448733a 100644
   --- a/velox/functions/sparksql/tests/JsonFunctionsTest.cpp
   +++ b/velox/functions/sparksql/tests/JsonFunctionsTest.cpp
   @@ -119,5 +119,9 @@ TEST_F(GetJsonObjectTest, nullResult) {
          std::nullopt);
    }
    
   +TEST_F(GetJsonObjectTest, escaped) {
   +  EXPECT_EQ(getJsonObject(R"({"c1":"test\ntest"})", "$.c1"), "test\ntest");
   +}
   +
    } // namespace
    } // namespace facebook::velox::functions::sparksql::test
   
   ```


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