Skip to content

Commit b84befe

Browse files
committed
Use type-casting syntax to be sure it works
1 parent bf5c145 commit b84befe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

x-pack/plugin/esql/qa/testFixtures/src/main/resources/spatial-grid.csv-spec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ required_capability: spatial_grid
275275
ROW location = ["POINT (6.360728044651057 47.94084087577894)", "POINT (6.351574736181647 51.8981519783847)", "POINT (5.268637698941997 42.747250193330856)"]
276276
| EVAL location = TO_GEOPOINT(location)
277277
| MV_EXPAND location
278-
| WHERE ST_INTERSECTS(location, TO_GEOHASH("u1"))
278+
| WHERE ST_INTERSECTS(location, "u1"::geohash)
279279
;
280280

281281
location:geo_point
@@ -610,7 +610,7 @@ required_capability: spatial_grid
610610
ROW location = ["POINT (6.360728044651057 47.94084087577894)", "POINT (24.516750878736943 23.93036561181085)", "POINT (5.268637698941997 42.747250193330856)"]
611611
| EVAL location = TO_GEOPOINT(location)
612612
| MV_EXPAND location
613-
| WHERE ST_INTERSECTS(location, TO_GEOTILE("3/4/3"))
613+
| WHERE ST_INTERSECTS(location, "3/4/3"::geotile)
614614
;
615615

616616
location:geo_point
@@ -1014,7 +1014,7 @@ required_capability: spatial_grid
10141014
ROW location = ["POINT (6.360728044651057 47.94084087577894)", "POINT (2.475211258445467 41.32352174592337)", "POINT (5.268637698941997 42.747250193330856)"]
10151015
| EVAL location = TO_GEOPOINT(location)
10161016
| MV_EXPAND location
1017-
| WHERE ST_INTERSECTS(location, TO_GEOHEX("81397ffffffffff"))
1017+
| WHERE ST_INTERSECTS(location, "81397ffffffffff"::geohex)
10181018
;
10191019

10201020
location:geo_point

0 commit comments

Comments
 (0)