diff --git a/snowflake/src/main/java/org/apache/sedona/snowflake/snowsql/UDFsV2.java b/snowflake/src/main/java/org/apache/sedona/snowflake/snowsql/UDFsV2.java index c277fea626..c7aadd935f 100644 --- a/snowflake/src/main/java/org/apache/sedona/snowflake/snowsql/UDFsV2.java +++ b/snowflake/src/main/java/org/apache/sedona/snowflake/snowsql/UDFsV2.java @@ -110,7 +110,7 @@ public static String ST_LabelPoint(String geom) { @UDFAnnotations.ParamMeta( argNames = {"geom", "gridResolution"}, - argTypes = {"Geometry", "double"}) + argTypes = {"Geometry", "int"}) public static String ST_LabelPoint(String geom, int gridResolution) { return GeometrySerde.serGeoJson( Functions.labelPoint(GeometrySerde.deserGeoJson(geom), gridResolution)); @@ -118,7 +118,7 @@ public static String ST_LabelPoint(String geom, int gridResolution) { @UDFAnnotations.ParamMeta( argNames = {"geom", "gridResolution", "goodnessThreshold"}, - argTypes = {"Geometry", "double", "double"}) + argTypes = {"Geometry", "int", "double"}) public static String ST_LabelPoint(String geom, int gridResolution, double goodnessThreshold) { return GeometrySerde.serGeoJson( Functions.labelPoint(GeometrySerde.deserGeoJson(geom), gridResolution, goodnessThreshold));