aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/test/java/com/yahoo/search/yql
diff options
context:
space:
mode:
authorArne Juul <arnej@yahooinc.com>2023-07-31 10:26:11 +0000
committerArne Juul <arnej@yahooinc.com>2023-07-31 10:26:11 +0000
commita9f71ba781f79efc9e17f5408eb9b9cd419c51e5 (patch)
tree30f9abffe65f36820b7df17713b4dfbcd0fb3471 /container-search/src/test/java/com/yahoo/search/yql
parentd488a7482e93ae233be571d61946caa796aba588 (diff)
avoid going Double->String->ParsedDegrees
Diffstat (limited to 'container-search/src/test/java/com/yahoo/search/yql')
-rw-r--r--container-search/src/test/java/com/yahoo/search/yql/YqlParserTestCase.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/container-search/src/test/java/com/yahoo/search/yql/YqlParserTestCase.java b/container-search/src/test/java/com/yahoo/search/yql/YqlParserTestCase.java
index 33f840c7af0..911acf67daf 100644
--- a/container-search/src/test/java/com/yahoo/search/yql/YqlParserTestCase.java
+++ b/container-search/src/test/java/com/yahoo/search/yql/YqlParserTestCase.java
@@ -645,6 +645,8 @@ public class YqlParserTestCase {
"Invalid geoLocation coordinates 'Latitude: 2.0 degrees' and 'Latitude: 5.0 degrees'"));
assertParse("select foo from bar where geoLocation(workplace, -12, -34, \"-77 d\")",
"GEO_LOCATION workplace:(2,-34000000,-12000000,-1,0,1,0,4201111954)");
+ assertParse("select * from test_index where geoLocation(coordinate, 0.000010, 0.000010, \"10.000000 km\")",
+ "GEO_LOCATION coordinate:(2,10,10,90133,0,1,0,4294967294)");
}
@Test