Skip to content

Commit

Permalink
fix: snowflake tests
Browse files Browse the repository at this point in the history
  • Loading branch information
furqaankhan committed Sep 19, 2024
1 parent 0bc3d2a commit d91b1c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ public void test_ST_Polygonize() {

@Test
public void test_ST_Project() {
registerUDF("ST_Project", byte[].class);
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))",
"POINT (-544.0211108893703 -839.0715290764522)");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ public void test_ST_Polygonize() {

@Test
public void test_ST_Project() {
registerUDFV2("ST_Project", String.class);
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)");
Expand Down

0 comments on commit d91b1c3

Please sign in to comment.