Skip to content

Commit e46f427

Browse files
committed
fix: snowflake test 5/?
1 parent 507a2e3 commit e46f427

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

snowflake-tester/src/test/java/org/apache/sedona/snowflake/snowsql/TestFunctionsV2.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,15 @@ public void test_ST_LabelPoint() {
8686
registerUDFV2("ST_ReducePrecision", String.class, int.class);
8787
verifySqlSingleRes(
8888
"SELECT ST_AsText(sedona.ST_ReducePrecision(sedona.ST_LabelPoint(ST_GeometryFromWKT('POLYGON ((-112.637484 33.440546, -112.546852 33.477209, -112.489177 33.550488, -112.41777 33.751684, -111.956371 33.719707, -111.766868 33.616843, -111.775107 33.527595, -111.640533 33.504695, -111.440044 33.463462, -111.415326 33.374055, -111.514197 33.309809, -111.643279 33.222542, -111.893203 33.174278, -111.96461 33.250109, -112.123903 33.261593, -112.252985 33.35341, -112.406784 33.346527, -112.667694 33.316695, -112.637484 33.440546))'), 2, 0.2), 4))",
89-
"POINT (-112.0428 33.4642)");
89+
"POINT(-112.0428 33.4642)");
9090
registerUDFV2("ST_LabelPoint", String.class, int.class);
9191
verifySqlSingleRes(
9292
"SELECT ST_AsText(sedona.ST_ReducePrecision(sedona.ST_LabelPoint(ST_GeometryFromWKT('GEOMETRYCOLLECTION(POLYGON ((-112.840785 33.435962, -112.840785 33.708284, -112.409597 33.708284, -112.409597 33.435962, -112.840785 33.435962)), POLYGON ((-112.309264 33.398167, -112.309264 33.746007, -111.787444 33.746007, -111.787444 33.398167, -112.309264 33.398167)))'), 4), 4))",
93-
"POINT (-112.0484 33.5721)");
93+
"POINT(-112.0484 33.5721)");
9494
registerUDFV2("ST_LabelPoint", String.class);
9595
verifySqlSingleRes(
9696
"SELECT ST_AsText(sedona.ST_ReducePrecision(sedona.ST_LabelPoint(ST_GeometryFromWKT('POLYGON ((-112.654072 33.114485, -112.313516 33.653431, -111.63515 33.314399, -111.497829 33.874913, -111.692825 33.431378, -112.376684 33.788215, -112.654072 33.114485))')), 4))",
97-
"POINT (-112.0723 33.5391)");
97+
"POINT(-112.0723 33.5391)");
9898
}
9999

100100
@Test

0 commit comments

Comments
 (0)