diff --git a/snowflake-tester/src/test/java/org/apache/sedona/snowflake/snowsql/TestFunctions.java b/snowflake-tester/src/test/java/org/apache/sedona/snowflake/snowsql/TestFunctions.java index 4c23ef3121..79c5843ef9 100644 --- a/snowflake-tester/src/test/java/org/apache/sedona/snowflake/snowsql/TestFunctions.java +++ b/snowflake-tester/src/test/java/org/apache/sedona/snowflake/snowsql/TestFunctions.java @@ -808,7 +808,7 @@ public void test_ST_Polygonize() { public void test_ST_Project() { registerUDF("ST_Project", byte[].class, double.class, double.class); verifySqlSingleRes( - "select sedona.ST_AsWKT(sedona.ST_Project(sedona.ST_GeomFromText('POINT (0 0)'), 1000, 10))", + "select sedona.ST_AsText(sedona.ST_Project(sedona.ST_GeomFromText('POINT (0 0)'), 1000, 10))", "POINT (-544.0211108893703 -839.0715290764522)"); } diff --git a/snowflake-tester/src/test/java/org/apache/sedona/snowflake/snowsql/TestFunctionsV2.java b/snowflake-tester/src/test/java/org/apache/sedona/snowflake/snowsql/TestFunctionsV2.java index 3a37fdcfd3..d1941ea70f 100644 --- a/snowflake-tester/src/test/java/org/apache/sedona/snowflake/snowsql/TestFunctionsV2.java +++ b/snowflake-tester/src/test/java/org/apache/sedona/snowflake/snowsql/TestFunctionsV2.java @@ -758,7 +758,7 @@ public void test_ST_Project() { registerUDFV2("ST_Project", String.class, double.class, double.class); verifySqlSingleRes( "select ST_AsWKT(sedona.ST_Project(ST_GeomFromWKT('POINT (0 0)'), 1000, 10))", - "POINT(-544.0211108893703 -839.0715290764522)"); + "POINT(-544.021110889 -839.071529076)"); } @Test