Skip to content

Commit

Permalink
fix: remove st_ prefix from function names
Browse files Browse the repository at this point in the history
  • Loading branch information
richtia committed Sep 12, 2023
1 parent 9c40fcd commit 6f0a392
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions extensions/functions_geometry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---
scalar_functions:
-
name: "st_x"
name: "x_coordinate"
description: >
Return the x coordinate of the point. Return null if not available.
impls:
Expand All @@ -11,7 +11,7 @@ scalar_functions:
name: point
return: fp64
-
name: "st_y"
name: "y_coodinate"
description: >
Return the y coordinate of the point. Return null if not available.
impls:
Expand All @@ -20,17 +20,17 @@ scalar_functions:
name: point
return: fp64
-
name: "st_numpoints"
name: "numpoints"
description: >
Return the number of points in the geometry. The geometry should be an st_linestring
or st_circularstring.
Return the number of points in the geometry. The geometry should be an linestring
or circularstring.
impls:
- args:
- value: geometry
name: geom
return: i64
-
name: "st_isempty"
name: "isempty"
description: >
Return true is the geometry is an ampty geometry.
impls:
Expand All @@ -39,7 +39,7 @@ scalar_functions:
name: geom
return: boolean
-
name: "st_isclosed"
name: "isclosed"
description: >
Return true if the geometry's start and end points are the same.
impls:
Expand All @@ -48,7 +48,7 @@ scalar_functions:
name: geom
return: boolean
-
name: "st_issimple"
name: "issimple"
description: >
Return true if the geometry does not self intersect.
impls:
Expand All @@ -57,7 +57,7 @@ scalar_functions:
name: geom
return: boolean
-
name: "st_isring"
name: "isring"
description: >
Return true if the geometry's start and end points are the same and it does not self
intersect.
Expand All @@ -67,7 +67,7 @@ scalar_functions:
name: geom
return: boolean
-
name: "st_geometrytype"
name: "geometrytype"
description: >
Return the type of geometry as a string.
impls:
Expand All @@ -76,7 +76,7 @@ scalar_functions:
name: geom
return: string
-
name: "st_envelope"
name: "envelope"
description: >
Return the minimum bounding box for the input geometry as a geometry.
Expand All @@ -88,7 +88,7 @@ scalar_functions:
name: geom
return: geometry
-
name: "st_dimension"
name: "dimension"
description: >
Return the dimension of the input geometry. If the input is a collection of geometries,
return the largest dimension from the collection.
Expand Down

0 comments on commit 6f0a392

Please sign in to comment.